Merge branch 'dev' #897
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: Documentation | |
on: | |
push: | |
branches: | |
- master | |
# paths: | |
# - "docs/api/**.md" | |
# - "docs/articles/**.md" | |
# - "docs/apidoc/**.md" | |
# - "docs/images/**" | |
# - "docs/docfx.json" | |
# - "docs/filterConfig.yml" | |
# - "docs/index.md" | |
# - "docs/toc.yml" | |
# - "client/package.json" | |
# - "server/package.json" | |
# - "!docs/build.*" | |
# - "!docs/.gitignore" | |
jobs: | |
docs: | |
name: Update documentation | |
runs-on: ubuntu-latest | |
if: "contains(github.event.head_commit.message, 'Bump version') || contains(github.event.head_commit.message, 'Update documentation')" | |
steps: | |
- name: Dispatch event to altv-docs repo | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.PAT_TOKEN }} | |
repository: altmp/altv-docs | |
event-type: Update JS documentation | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |