Skip to content

Commit

Permalink
chore: fix semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
asgeirrr committed Mar 31, 2023
1 parent de09e69 commit f1e56a5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.PUBLISH_TOKEN }}
- name: Semantic release
run: |
git config --global user.name "semantic-release (via GitHub Actions)"
git config --global user.email "semantic-release@github"
pip install python-semantic-release
semantic-release publish
uses: relekang/python-semantic-release@master
with:
# Personal Access Token that belongs to an admin of the repo must
# be set in PUBLISH_TOKEN secret to bypass `main` branch protection
github_token: ${{ secrets.PUBLISH_TOKEN }}

0 comments on commit f1e56a5

Please sign in to comment.