Skip to content

Commit

Permalink
Update staging workflow to apply migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Oct 2, 2024
1 parent a61d2b9 commit 52ee5a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/staging-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [opened, synchronize]

jobs:
check-folder-changes:
apply-staging-migrations:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -38,4 +38,8 @@ jobs:

- name: Run TypeScript script
if: ${{ env.CHANGES == 'true' }}
env:
DATO_API_KEY_OPENEARTH_RWS_VIEWER: ${{ secrets.DATO_API_KEY_OPENEARTH_RWS_VIEWER }}
DATO_API_KEY_OPENEARTH_DATA_VIEWER: ${{ secrets.DATO_API_KEY_OPENEARTH_DATA_VIEWER }}
DATO_API_KEY_NL2120: ${{ secrets.DATO_API_KEY_NL2120 }}
run: npm run migrations:apply-staging

0 comments on commit 52ee5a7

Please sign in to comment.