Skip to content

Commit 27f6683

Browse files
authored
Merge pull request #32 from clue/deploy2website
Trigger website deployment to rebuild docs when pushing to main branch
2 parents e715d39 + 908c4c7 commit 27f6683

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Trigger website deployment to rebuild docs whenever main branch has been changed
2+
name: Deploy to website
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
Deploy:
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- run: |
14+
curl -X POST -u ":{{ secrets.WEBSITE_PAT}}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/clue/framework-x-website/actions/workflows/ci.yml/dispatches -d '{"ref":"main"}'

0 commit comments

Comments
 (0)