This commit is contained in:
Andreas Hnida 2024-07-29 12:44:04 +02:00
commit 7eee5534e4

View file

@ -67,7 +67,6 @@ jobs:
ssh-private-key: ${{ secrets.VFO_SSH_KEY }}
- name: Deploy to Development
if: github.ref == 'refs/heads/dev'
run: |
echo "Deploying to Development Environment"
rsync -avz ./public/ $DEV_USER@$DEV_HOST:$DEV_PATH
@ -75,7 +74,6 @@ jobs:
RSYNC_RSH: 'ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no'
- name: Deploy to Production
if: github.ref == 'refs/heads/main'
run: |
echo "Deploying to Production Environment"
rsync -avz ./public/ $PROD_USER@$PROD_HOST:$PROD_PATH