chore(deploy.yml): use v2 env and checkout master (#83)

This commit is contained in:
Artur
2024-10-17 12:44:14 -03:00
committed by GitHub
parent 82955be4cb
commit baa9b3cfc3

View File

@@ -8,7 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
environment: master
environment: v2
steps:
- uses: actions/checkout@v4
@@ -20,7 +20,7 @@ jobs:
ssh -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_IP }} << 'EOF'
export HISTFILE=/dev/null
cd campaign-site
git checkout v2
git checkout master
echo "Pulling changes..."
git pull
echo "Building and starting..."