Skip to content

reload-auths-stg

reload-auths-stg #16

# 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 }}