Skip to content

Commit a88e2f6

Browse files
committed
feat(ci): trigger website ci if build succeeds
1 parent 2c3fd88 commit a88e2f6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,16 @@ jobs:
6161
./arkscript --version
6262
mkdir -p std && mv *.ark std/
6363
./arkscript --lib ./ tests/all.ark
64+
65+
update-docs:
66+
runs-on: ubuntu-24.04
67+
name: "Update website documentation"
68+
needs: [ build ]
69+
70+
steps:
71+
- name: Create repository dispatch event
72+
if: github.ref == 'refs/heads/master'
73+
env:
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75+
run: |
76+
gh api repos/ArkScript-lang/website/dispatches --raw-field event_type=my_update_docs

0 commit comments

Comments
 (0)