Merge pull request #371 from phpDocumentor/feature/references #786
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: "Sub-split Publishing" | |
on: # yamllint disable-line rule:truthy | |
create: | |
tags: | |
- "*" | |
delete: | |
tags: | |
- "*" | |
push: | |
paths: | |
- "packages/**/*" | |
branches: | |
- "main" | |
jobs: | |
publish_sub_splits: | |
runs-on: "ubuntu-latest" | |
name: "Publish Sub-split" | |
steps: | |
- uses: "actions/[email protected]" | |
with: | |
fetch-depth: "0" | |
persist-credentials: "false" | |
- uses: "frankdejonge/[email protected]" | |
with: | |
authentication: "phpdoc-bot:${{ secrets.BOT_TOKEN }}" | |
- name: "Cache splitsh-lite" | |
id: "splitsh-cache" | |
uses: "actions/[email protected]" | |
with: | |
path: "./.splitsh" | |
key: "${{ runner.os }}-splitsh-d-101" | |
- uses: "frankdejonge/[email protected]" | |
with: | |
source-branch: "main" | |
config-path: "./config.subsplit-publish.json" | |
splitsh-path: "./.splitsh/splitsh-lite" | |
splitsh-version: "v1.0.1" |