Skip to content

Commit

Permalink
Merge pull request k0sproject#336 from makhov/publich-docs-fix
Browse files Browse the repository at this point in the history
Fix updating install.yaml on commit
  • Loading branch information
makhov authored Nov 10, 2023
2 parents 837d92f + 0ca90fd commit e115e84
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ jobs:
# Commits if the files were changed
# Finally pushes if there are unpushed commits
- name: Create install files
if: github.repository == 'k0sproject/k0smotron'
if: >-
github.repository == 'k0sproject/k0smotron' &&
github.event_name == 'release' &&
github.event.action == 'published' &&
!github.event.release.draft &&
!github.event.release.prerelease
run: |
STABLE=${{ steps.set_versions.outputs.STABLE }}
make release IMG=quay.io/k0sproject/k0smotron:${STABLE}
Expand Down

0 comments on commit e115e84

Please sign in to comment.