Skip to content

Commit

Permalink
incorporate changes from #192
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibbelink committed Feb 14, 2024
1 parent 5546490 commit a2eba16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish Stable Cymetric

on:
pull_request:
paths:
- '.github/workflows/publish_release.yml'
release:
types: [released]

Expand Down Expand Up @@ -31,7 +34,7 @@ jobs:
echo "stable_tag=ci-image-cache" >> "$GITHUB_ENV"
- name: Tag as stable
if: ${{ github.repository_owner == 'cyclus' }}
if: ${{ github.repository_owner == 'cyclus' && github.event_name == 'release' }}
run: |
echo "version_tag=${{ github.event.release.tag_name }}" >> "$GITHUB_ENV"
echo "stable_tag=stable" >> "$GITHUB_ENV"
Expand Down

0 comments on commit a2eba16

Please sign in to comment.