Skip to content

Commit b3d1b05

Browse files
committed
Use GITHUB_TOKEN
1 parent ef8ee39 commit b3d1b05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
ref: gh-pages
4848
path: gh-pages
49-
token: ${{ secrets.PUBLISH_SECRET }}
49+
token: ${{ secrets.GITHUB_TOKEN }}
5050

5151
- name: Build and publish site
5252
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: |
4242
mvn clean package -Dtag=${{ env.VERSION }}
4343
cd kubernetes/samples/scripts
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
registry: ${{ env.REGISTRY }}
7373
username: ${{ github.actor }}
74-
password: ${{ secrets.PUBLISH_SECRET }}
74+
password: ${{ secrets.GITHUB_TOKEN }}
7575

7676
- name: Build and push container image
7777
uses: docker/build-push-action@v6
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
ref: gh-pages
8989
path: gh-pages
90-
token: ${{ secrets.PUBLISH_SECRET }}
90+
token: ${{ secrets.GITHUB_TOKEN }}
9191

9292
- name: Generate and publish Helm chart
9393
run: |

0 commit comments

Comments
 (0)