.github/workflows/call-deploy-dev-doc.yml
raw| 1 | name: deploy docs |
| 2 | on: |
| 3 | push: |
| 4 | branches: ["master"] |
| 5 | workflow_dispatch: |
| 6 | inputs: |
| 7 | tag: |
| 8 | required: true |
| 9 | type: string |
| 10 | |
| 11 | permissions: |
| 12 | contents: read |
| 13 | pages: write |
| 14 | id-token: write |
| 15 | |
| 16 | # Allow one concurrent deployment |
| 17 | concurrency: |
| 18 | group: "pages" |
| 19 | cancel-in-progress: true |
| 20 | |
| 21 | jobs: |
| 22 | deploydocs: |
| 23 | uses: linuxdeepin/.github/.github/workflows/deploy-dev-doc.yml@master |
| 24 | with: |
| 25 | ref: ${{ inputs.tag }} |
| 26 | secrets: inherit |