Skip to content

Commit

Permalink
chore: Retrieve the ssh port as a secret
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Dec 21, 2024
1 parent a6bec65 commit 6c62129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
port: ${{ secrets.PORT }}
script: |
cd ctf-prod
git pull origin main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
port: ${{ secrets.PORT }}
script: |
cd ctf-test
git pull origin dev
Expand Down

0 comments on commit 6c62129

Please sign in to comment.