Skip to content

Commit dafde97

Browse files
committed
Use GITHUB_TOKEN
1 parent 96b98ea commit dafde97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish-latest-minor-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
ref: gh-pages
3636
path: gh-pages
37-
token: ${{ secrets.PUBLISH_SECRET }}
37+
token: ${{ secrets.GITHUB_TOKEN }}
3838

3939
- name: Build and publish site
4040
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Build
3939
env:
40-
GITHUB_TOKEN: ${{ secrets.PUBLISH_SECRET }}
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
run: mvn clean package -Dtag=${{ env.VERSION }}
4242

4343
- name: Create Draft Release
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
registry: ${{ env.REGISTRY }}
6868
username: ${{ github.actor }}
69-
password: ${{ secrets.PUBLISH_SECRET }}
69+
password: ${{ secrets.GITHUB_TOKEN }}
7070

7171
- name: Build and push container image
7272
uses: docker/build-push-action@v6
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
ref: gh-pages
8484
path: gh-pages
85-
token: ${{ secrets.PUBLISH_SECRET }}
85+
token: ${{ secrets.GITHUB_TOKEN }}
8686

8787
- name: Generate and publish Helm chart
8888
run: |

0 commit comments

Comments
 (0)