Merge pull request #339 from l0o0/main #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Website Action | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
trigger-website-action: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Trigger Website Action | |
run: | | |
curl -XPOST -u "cumany:${{secrets.PAT_TOKEN}}" \ | |
-H "Accept: application/vnd.github.everest-preview+json" \ | |
-H "Content-Type: application/json" https://api.github.com/repos/PKM-er/Pkmer-Website/dispatches \ | |
--data '{"event_type": "docs-updated"}' |