Skip to content

Commit 228bfc1

Browse files
committed
fix docpush job permissions
1 parent 9864f0e commit 228bfc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/doc-build.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
pull_request:
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
docbuild:
1114
runs-on: linux.20_04.4x
@@ -64,7 +67,7 @@ jobs:
6467
docpush:
6568
runs-on: linux.20_04.4x
6669
needs: docbuild
67-
if: ${{ github.ref == 'refs/heads/main' }}
70+
#if: ${{ github.ref == 'refs/heads/main' }}
6871
steps:
6972
- name: Setup Python
7073
uses: actions/setup-python@v2

0 commit comments

Comments
 (0)