Update repository URLs

This commit is contained in:
boilerrat 2025-03-16 13:45:54 -04:00
parent c21c853ccd
commit 8401268a58
2 changed files with 6 additions and 7 deletions

View File

@ -14,7 +14,7 @@ This website is deployed to:
1. Clone the repository: 1. Clone the repository:
```bash ```bash
git clone https://github.com/boilerrat/Web3CV.git git clone https://git.boilerhaus.org/boiler/Web3CV.git
cd Web3CV cd Web3CV
``` ```
@ -75,5 +75,5 @@ This repository is hosted on a self-hosted Gitea instance. GitHub is used as a s
### Remote Setup ### Remote Setup
After migration, your remotes will be configured as: 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) - `github`: Your GitHub repository (for Vercel deployment)

View File

@ -4,14 +4,13 @@
# First, check if we can connect to the Gitea server # First, check if we can connect to the Gitea server
echo "Testing connection to Gitea server..." echo "Testing connection to Gitea server..."
if ! ssh git@git.boilerhaus.org "echo 'Connection successful'"; then if ! curl -s https://git.boilerhaus.org > /dev/null; then
echo "Failed to connect to Gitea server. Please check your SSH configuration." echo "Failed to connect to Gitea server. Please check your network connection."
exit 1 exit 1
fi fi
# Create a new repository on Gitea using the API instead of CLI # Create a new repository on Gitea using the API instead of CLI
echo "Creating a new repository on Gitea..." 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 # You'll need to generate an API token from your Gitea instance
# Generate one at https://git.boilerhaus.org/user/settings/applications # Generate one at https://git.boilerhaus.org/user/settings/applications
@ -32,7 +31,7 @@ sleep 2
# Add Gitea as a new remote # Add Gitea as a new remote
echo "Adding 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 # Verify the remote was added
echo "Verifying remote..." echo "Verifying remote..."
@ -49,4 +48,4 @@ git remote rename origin github
git remote rename gitea origin git remote rename gitea origin
echo "Migration to Gitea complete!" 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"