Skip to content

Commit

Permalink
Merge pull request #73 from Wiibleyde/develop
Browse files Browse the repository at this point in the history
feat: update GitHub Actions workflow to use personal access token for…
  • Loading branch information
Wiibleyde authored Dec 20, 2024
2 parents cb2b721 + fd8c82f commit 4724c26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ jobs:

- name: Create tag
if: github.event.pull_request.merged == true
id: create_tag
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git tag v${{ env.VERSION }}
git push origin v${{ env.VERSION }}
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }} v${{ env.VERSION }}
- name: Publish release
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit 4724c26

Please sign in to comment.