Skip to content

Commit

Permalink
Fix deploys (#193)
Browse files Browse the repository at this point in the history
Necessary due to Cloudflare
  • Loading branch information
Eric-Arellano authored Jun 24, 2024
1 parent 1cadf24 commit 9bd0e2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Copy from staging to production
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.PRN_SERVER_HOST }}
host: ${{ secrets.PRN_FTP_HOST }}
username: ${{ secrets.PRN_SERVER_USERNAME }}
key: ${{ secrets.PRN_SERVER_PRIVATE_KEY }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Copy dist/ to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.PRN_SERVER_HOST }}
host: ${{ secrets.PRN_FTP_HOST }}
username: ${{ secrets.PRN_SERVER_USERNAME }}
key: ${{ secrets.PRN_SERVER_PRIVATE_KEY }}
source: dist_contents.tar.gz
target: /var/www/${{ secrets.PRN_SERVER_HOST }}/plm-staging
- name: Extract on server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.PRN_SERVER_HOST }}
host: ${{ secrets.PRN_FTP_HOST }}
username: ${{ secrets.PRN_SERVER_USERNAME }}
key: ${{ secrets.PRN_SERVER_PRIVATE_KEY }}
script: |
Expand Down

0 comments on commit 9bd0e2c

Please sign in to comment.