Skip to content

Commit c27b2fe

Browse files
authored
Update deploy-docs.yml
1 parent 5e669b1 commit c27b2fe

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,26 @@ on:
1414
# Allows you to run this workflow manually from the Actions tab
1515
workflow_dispatch:
1616

17-
jobs:
18-
deploy-pages:
19-
uses: it-at-m/.github/.github/workflows/reuseable-template-deploy-pages.yml@reuseable-workflow
2017

18+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
19+
permissions:
20+
contents: read
21+
pages: write
22+
id-token: write
23+
24+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
25+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
26+
concurrency:
27+
group: pages
28+
cancel-in-progress: false
29+
30+
jobs:
31+
deploy-docs:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- id: build docs
35+
uses: it-at-m/.github/.github/actions/action-build-docs@feat/102-enhance-action-npm-build-to-include-parameters-for-lintingtesting
36+
with:
37+
app-path: ${{inputs.app-path}}
38+
- id: deploy docs
39+
uses: it-at-m/.github/.github/actions/action-deploy-docs@feat/102-enhance-action-npm-build-to-include-parameters-for-lintingtesting

0 commit comments

Comments
 (0)