reload-auths-stg #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When syncing of configs from github to S3 is complete and required time passes to | |
# allow for syncing of S3 to application, reloads the authorities in the application. | |
# See sync-s3-stg.yml for the sync and wait workflow. | |
name: reload-auths-stg | |
on: | |
workflow_dispatch: # allow for manually running through Actions tab | |
workflow_run: # runs when sync-s3-stg completes | |
workflows: ["sync-s3-stg"] | |
types: | |
- completed | |
jobs: | |
reload_auths: | |
runs-on: ubuntu-latest | |
environment: staging | |
steps: | |
- name: reload authorities | |
run: | |
curl https://qa-server-service-stg.library.cornell.edu/authorities/reload/linked_data/authorities?auth_token=${{ secrets.AUTHENTICATE_RELOAD }} |