Skip to content

feat(deducer): configure local arch for pluto run on Mac (#337) #195

feat(deducer): configure local arch for pluto run on Mac (#337)

feat(deducer): configure local arch for pluto run on Mac (#337) #195

name: Trigger Website Update
on:
push:
branches:
- main
jobs:
update-website:
# prevent this action from running on forks
if: github.repository == 'pluto-lang/pluto'
runs-on: ubuntu-latest
steps:
- name: Send an update docs event to website repository
run: |
curl -X POST \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/pluto-lang/website/dispatches" \
-d '{"event_type": "trigger-update-docs"}'
env:
GITHUB_TOKEN: ${{ secrets.PLUTO_WORKFLOW_GITHUB_TOKEN_JIANZS }}