📦 Publish (app user manual) #1
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: "📦 Invoke AppDir Jekyll build" | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main'] | |
paths: ['documentation/clamsapp.md'] | |
jobs: | |
call-jekyll-build-deploy: | |
name: "🤙 Call AppDir Jekyll build-deploy workflow" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.GH_CLAMSBOT_TOKEN }} | |
script: | | |
const result = await github.rest.repos.createDispatchEvent({ | |
owner: 'clamsproject', | |
repo: 'apps', | |
event_type: 'appdir-update', | |
client_payload: ${{ toJSON(github.event) }} | |
}) | |
console.log(result); |