Skip to content

Commit 6b42898

Browse files
Merge pull request #83 from Palbahngmiyine/master
Update GitHub Actions Workflow
2 parents 83276ba + 6e0e812 commit 6b42898

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/build-docs.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ permissions:
1313
jobs:
1414
build-docs:
1515
runs-on: ubuntu-latest
16-
environment:
17-
name: github-pages
18-
url: ${{ steps.deployment.outputs.page_url }}
19-
permissions:
20-
contents: read
2116
steps:
2217
- name: Checkout
2318
uses: actions/checkout@v4
@@ -42,6 +37,14 @@ jobs:
4237
path: docs
4338
if-no-files-found: error
4439
retention-days: 14
45-
- name: Deploy to GitHub Pages
46-
id: deployment
47-
uses: actions/deploy-pages@v4
40+
41+
deploy:
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
runs-on: ubuntu-latest
46+
needs: build
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)