Update repository URLs
This commit is contained in:
parent
c21c853ccd
commit
8401268a58
|
|
@ -14,7 +14,7 @@ This website is deployed to:
|
|||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://github.com/boilerrat/Web3CV.git
|
||||
git clone https://git.boilerhaus.org/boiler/Web3CV.git
|
||||
cd Web3CV
|
||||
```
|
||||
|
||||
|
|
@ -75,5 +75,5 @@ This repository is hosted on a self-hosted Gitea instance. GitHub is used as a s
|
|||
### Remote Setup
|
||||
|
||||
After migration, your remotes will be configured as:
|
||||
- `origin`: Your Gitea repository (git@git.boilerhaus.org:boilerrat/Web3CV.git)
|
||||
- `origin`: Your Gitea repository (https://git.boilerhaus.org/boiler/Web3CV.git)
|
||||
- `github`: Your GitHub repository (for Vercel deployment)
|
||||
|
|
|
|||
|
|
@ -4,14 +4,13 @@
|
|||
|
||||
# First, check if we can connect to the Gitea server
|
||||
echo "Testing connection to Gitea server..."
|
||||
if ! ssh git@git.boilerhaus.org "echo 'Connection successful'"; then
|
||||
echo "Failed to connect to Gitea server. Please check your SSH configuration."
|
||||
if ! curl -s https://git.boilerhaus.org > /dev/null; then
|
||||
echo "Failed to connect to Gitea server. Please check your network connection."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create a new repository on Gitea using the API instead of CLI
|
||||
echo "Creating a new repository on Gitea..."
|
||||
# We'll use curl to create the repository via the API
|
||||
# You'll need to generate an API token from your Gitea instance
|
||||
# Generate one at https://git.boilerhaus.org/user/settings/applications
|
||||
|
||||
|
|
@ -32,7 +31,7 @@ sleep 2
|
|||
|
||||
# Add Gitea as a new remote
|
||||
echo "Adding Gitea as a new remote..."
|
||||
git remote add gitea git@git.boilerhaus.org:boilerrat/Web3CV.git
|
||||
git remote add gitea https://git.boilerhaus.org/boiler/Web3CV.git
|
||||
|
||||
# Verify the remote was added
|
||||
echo "Verifying remote..."
|
||||
|
|
@ -49,4 +48,4 @@ git remote rename origin github
|
|||
git remote rename gitea origin
|
||||
|
||||
echo "Migration to Gitea complete!"
|
||||
echo "Your repository is now available at: https://git.boilerhaus.org/boilerrat/Web3CV"
|
||||
echo "Your repository is now available at: https://git.boilerhaus.org/boiler/Web3CV"
|
||||
Loading…
Reference in New Issue