Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
Swap `secrets.HOST` for `variables.HOST`. Variables should print out to logs, and the IP address of the validator is not a secret.
  • Loading branch information
3ach authored Sep 7, 2024
1 parent 6d2bb78 commit 9d44935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: appleboy/ssh-action@master
name: Deploy container
with:
host: ${{ secrets.HOST }}
host: ${{ variables.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: systemctl restart validator
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: appleboy/ssh-action@master
name: Deploy convertor
with:
host: ${{ secrets.HOST }}
host: ${{ variables.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: systemctl restart converter

0 comments on commit 9d44935

Please sign in to comment.