Skip to content

Commit 922e86f

Browse files
committed
fix: last commit
1 parent 02c58d4 commit 922e86f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313
concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
15-
permissions:
16-
contents: write # Für peaceiris/actions-gh-pages@v3
17-
pages: write
18-
id-token: write
19-
2015
steps:
2116
- name: Checkout
2217
uses: actions/checkout@v4
@@ -34,18 +29,22 @@ jobs:
3429

3530
- name: Add CNAME file
3631
if: github.ref != 'refs/heads/main'
37-
run: echo 'preview.rfd-fhem.github.io' > build/site/html/CNAME"
32+
run: echo 'preview.rfd-fhem.github.io' > "build/site/html/CNAME"
3833

3934
- name: Add CNAME file
4035
if: github.ref == 'refs/heads/main'
41-
run: echo 'pysignalduino.rfd-fhem.github.io' > build/site/html/CNAME"
36+
run: echo 'pysignalduino.rfd-fhem.github.io' > "build/site/html/CNAME"
4237

4338
- name: Upload artifact
4439
uses: actions/upload-pages-artifact@v4
4540
with:
4641
path: build/site/html
4742

4843
deploy:
44+
permissions:
45+
contents: write
46+
pages: write
47+
id-token: write
4948
environment:
5049
name: github-pages
5150
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)