Skip to content

Commit

Permalink
Merge pull request #26 from WarwickStudentArtsFestival/main
Browse files Browse the repository at this point in the history
Add analytics env to GitHub CICD
  • Loading branch information
JoshHeng authored May 11, 2024
2 parents d07a351 + 23e813b commit 24d9a8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: npm run build
env:
BASE_URL: ${{ vars.BASE_URL }}
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: $${{ vars.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID }}

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -121,4 +122,4 @@ jobs:
- name: Trigger Portainer Deployment
uses: newarifrh/portainer-service-webhook@v1
with:
webhook_url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
webhook_url: ${{ secrets.PORTAINER_WEBHOOK_URL }}

0 comments on commit 24d9a8e

Please sign in to comment.