Skip to content

Commit

Permalink
Add deployment to update website on new commits
Browse files Browse the repository at this point in the history
  • Loading branch information
kongr45gpen authored Oct 24, 2021
1 parent e0a988f commit afef60b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/update-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: update-website
on:
push:
branches:
- 'master'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Dispatch event to website repository
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME }}:${{ secrets.PAT_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/kongr45gpen/konkanant.auth/dispatches --data '{"event_type": "build_application"}'

0 comments on commit afef60b

Please sign in to comment.