Skip to content

Commit 8b5d276

Browse files
committed
tech: adapt deploy-to-scaleway github action to main branch
1 parent 1cf6537 commit 8b5d276

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy-to-scaleway.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- develop
7+
- main
78

89
jobs:
910
deploy:
@@ -26,7 +27,7 @@ jobs:
2627
run: |
2728
ssh -o StrictHostKeyChecking=no $SCW_USER@$SCW_HOST << 'EOF'
2829
cd /home/ubuntu/aigle-api
29-
git pull origin develop
30+
git pull origin ${{ github.ref_name }}
3031
source venv/bin/activate
3132
pip install -r requirements.txt
3233
python manage.py migrate

0 commit comments

Comments
 (0)