ajoute le calendrier à la page service #262
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 ouvroir's website build | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
dispatch_event: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Post dispatch | |
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') | |
run: | | |
curl -v -X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "Authorization: Bearer ${{ secrets.PAT_TOKEN }}" \ | |
-H "X-GitHub-Api-Version: 2022-11-28" \ | |
https://api.github.com/repos/ouvroir/website/actions/workflows/deploy.yml/dispatches \ | |
-d '{"ref":"main"}' |