Skip to content

Commit

Permalink
Merge pull request #181 from OxfordRSE/plausible-patch
Browse files Browse the repository at this point in the history
change plausible secrets for deploy
  • Loading branch information
alasdairwilson authored Mar 25, 2024
2 parents 95e60d0 + 6f706fe commit a5e0579
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
shell: bash
run: yarn pullmat
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --build-arg DATABASE_URL=${{ secrets.DATABASE_URL }} --wait-timeout 240
- run: flyctl deploy --remote-only
--build-arg DATABASE_URL=${{secrets.DATABASE_URL}}
--build-arg NEXT_PUBLIC_PLAUSIBLE_DOMAIN=${{secrets.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}}
--wait-timeout 240
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy -a gutenberg-staging --remote-only
--build-arg DATABASE_URL=${{secrets.DATABASE_URL_TEST}}
--build-arg NEXT_PUBLIC_PLAUSIBLE_DOMAIN=${{secrets.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}}
--build-arg NEXT_PUBLIC_PLAUSIBLE_DOMAIN=${{secrets.NEXT_PUBLIC_PLAUSIBLE_DOMAIN_TEST}}
--wait-timeout 240
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Expand Down

0 comments on commit a5e0579

Please sign in to comment.