Skip to content

Commit 1569509

Browse files
committed
Fix docs workflow for repositories without Pages
1 parent 68df002 commit 1569509

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

.github/workflows/docs.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ on:
66
- main
77
workflow_dispatch:
88

9-
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
13-
14-
concurrency:
15-
group: "pages"
16-
cancel-in-progress: false
17-
189
jobs:
1910
build:
2011
runs-on: ubuntu-latest
@@ -34,19 +25,3 @@ jobs:
3425
3526
- name: Build docs
3627
run: python -m mkdocs build --strict
37-
38-
- name: Upload Pages artifact
39-
uses: actions/upload-pages-artifact@v3
40-
with:
41-
path: site
42-
43-
deploy:
44-
needs: build
45-
runs-on: ubuntu-latest
46-
environment:
47-
name: github-pages
48-
url: ${{ steps.deployment.outputs.page_url }}
49-
steps:
50-
- name: Deploy to GitHub Pages
51-
id: deployment
52-
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)