Skip to content

Commit

Permalink
ci: enable publish step in tofu-mixin workflow
Browse files Browse the repository at this point in the history
- Uncomment publish job steps in GitHub Actions workflow
- Publish step runs on successful builds for non-PR events
- Uses PUBLISH_TOKEN secret for GitHub authentication

Signed-off-by: Kim Christensen <[email protected]>
  • Loading branch information
kichristensen committed Nov 11, 2024
1 parent a010a5c commit 4b9d110
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tofu-mixin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
run: mage Test
- name: Cross Compile
run: mage XBuildAll
# - name: Publish
# if: success() && github.event_name != 'PullRequest'
# env:
# GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}"
# run: mage Publish
- name: Publish
if: success() && github.event_name != 'PullRequest'
env:
GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}"
run: mage Publish

0 comments on commit 4b9d110

Please sign in to comment.