mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
feat(site): should trigger workflow
This commit is contained in:
parent
c30062c70f
commit
ba92551ade
1 changed files with 17 additions and 0 deletions
17
.github/workflows/update-site.yml
vendored
Normal file
17
.github/workflows/update-site.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
name: Update Site
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
jobs:
|
||||||
|
trigger_update:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Trigger site update
|
||||||
|
run: |
|
||||||
|
curl -X POST -u "$sqrtminusone:${{ secrets.ACCESS_TOKEN }}" \
|
||||||
|
-H "Accept: application/vnd.github.everest-preview+json"\
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
--data '{"event_type": "build_application"}' \
|
||||||
|
https://api.github.com/repos/sqrtminusone/sqrtminusone.github.io/dispatches
|
||||||
Loading…
Add table
Reference in a new issue