Skip to content

Commit

Permalink
Trigger the webapp re-deployment with each push
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Apr 25, 2024
1 parent 93394d4 commit ff4c81d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build zip with latest commit hash
name: build archive.zip and trigger webapp deployment
on:
push:
branches:
Expand Down Expand Up @@ -30,3 +30,13 @@ jobs:
git commit -m "Upload latest zip archive"
git branch -M zip-archive
git push -fu origin zip-archive
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch event to trigger webapp deployment
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: Citizen-Knowledge-Graph/foerderfunke-webapp
event-type: external-webapp-deployment-trigger

0 comments on commit ff4c81d

Please sign in to comment.