Skip to content

Commit

Permalink
ci: use PAT instead of github_tken
Browse files Browse the repository at this point in the history
Signed-off-by: Hajime Tazaki <[email protected]>
  • Loading branch information
thehajime committed Nov 10, 2022
1 parent 73c6db5 commit af6cf02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .github/release.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ jobs:
with:
tag_name: v${{ env.RELEASE_VERSION }}
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT }}
files: |
${{ env.PACKAGE_FILENAME }}
- uses: actions/setup-ruby@v1
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.PAT }}
- name: Build and push Docker image
if: gitHub.event_name == 'release' && runner.os == 'linux' && matrix.arch == 'amd64'
uses: docker/build-push-action@v2
Expand Down

0 comments on commit af6cf02

Please sign in to comment.