Skip to content

Commit d6b95a1

Browse files
committed
Use GITHUB_TOKEN
1 parent a1464cb commit d6b95a1

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: |
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)