File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -938,8 +938,10 @@ jobs:
938938 upload_dev_docs :
939939 name : Upload dev documentation
940940 if : github.ref == 'refs/heads/main'
941- runs-on : ubuntu-latest
942941 needs : [package]
942+ runs-on : ubuntu-latest
943+ permissions :
944+ contents : write
943945 steps :
944946 - name : Deploy the latest documentation
945947 uses : ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
@@ -952,8 +954,10 @@ jobs:
952954 upload_docs_release :
953955 name : Upload release documentation
954956 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
955- runs-on : ubuntu-latest
956957 needs : [release, release-pypi]
958+ runs-on : ubuntu-latest
959+ permissions :
960+ contents : write
957961 steps :
958962 - name : Deploy the stable documentation
959963 uses : ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
Original file line number Diff line number Diff line change 1+ Add write permissions to doc deploy jobs
You can’t perform that action at this time.
0 commit comments