Skip to content

Commit

Permalink
Release Mismatch Finder to Production (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 16, 2024
1 parent 7b34cf7 commit 5496f24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-app-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Syncing code to Toolforge-Staging
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
host: ${{ secrets.HOST_ALT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
Expand All @@ -48,10 +48,11 @@ jobs:
- name: Deploy code
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
host: ${{ secrets.HOST_ALT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
command_timeout: 30m
script: |
# Make sure ~tools.mismatch-finder-staging/mismatch-finder-repo-next is group writable
become mismatch-finder-staging chmod -R g+rwx ~tools.mismatch-finder-staging/mismatch-finder-repo-next
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Syncing code to Toolforge-Production
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
host: ${{ secrets.HOST_ALT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
Expand All @@ -46,10 +46,11 @@ jobs:
- name: Deploy code
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
host: ${{ secrets.HOST_ALT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
command_timeout: 30m
script: |
# Make sure ~tools.mismatch-finder/mismatch-finder-repo is group writable
become mismatch-finder chmod -R g+rwx ~tools.mismatch-finder/mismatch-finder-repo
Expand Down

0 comments on commit 5496f24

Please sign in to comment.