Skip to content

Commit

Permalink
NZSL-157: Update the Signbank database extraction task to automatical…
Browse files Browse the repository at this point in the history
…ly restart Heroku apps after a release is performed (#25)

* Update the Signbank database extraction task to automatically restart Heroku apps after a release is performed

* Configure Heroku API key using environment variable

* Remove invalid YAML key
  • Loading branch information
joshmcarthur authored Jan 11, 2024
1 parent 64b4b66 commit f3c692d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/signbank-database-extract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,8 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: nzsl.dat
path: ./nzsl.dat
path: ./nzsl.dat
- name: Restart Heroku application(s)
run: |
HEROKU_API_KEY=${{ secrets.HEROKU_DICTIONARY_API_TOKEN }} heroku restart --app ${{ secrets.HEROKU_DICTIONARY_APP_NAME }}
HEROKU_API_KEY=${{ secrets.HEROKU_SHARE_API_TOKEN }} heroku restart --app ${{ secrets.HEROKU_SHARE_APP_NAME }}

0 comments on commit f3c692d

Please sign in to comment.