Skip to content

Commit 2da5271

Browse files
author
berndgassmann
authored
Fix github token usage
1 parent f552769 commit 2da5271

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/check_documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: master
88

99
permissions:
10-
contents: read
10+
contents: write
1111

1212
jobs:
1313
documentationjob:
@@ -56,6 +56,6 @@ jobs:
5656

5757
- name: Documentation Deployment (Test)
5858
env:
59-
GITHUB_TOKEN: ${{ secrets.BUILD_DOCU_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
run: |
6161
if [ ${{ github.event_name }} != 'pull_request' ]; then bash .github/workflows/deploy_documentation.sh true; else bash .github/workflows/deploy_documentation.sh false; fi

.github/workflows/release_qgis_plugin.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
pull_request:
99
branches: master
1010

11-
1211
jobs:
1312
publish:
1413
name: Publish AD-Map QGIS Plugin
@@ -42,6 +41,6 @@ jobs:
4241
uses: svenstaro/upload-release-action@5e35e583720436a2cc5f9682b6f55657101c1ea1 # v2
4342
if: ${{ github.event_name == 'release'}}
4443
with:
45-
repo_token: ${{ secrets.BUILD_DOCU_TOKEN }}
44+
repo_token: ${{ secrets.GITHUB_TOKEN }}
4645
file: ad_map_access_qgis.zip
4746
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)