Skip to content

Commit

Permalink
test/deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent d35bede commit 28356b4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
diff:
runs-on: ubuntu-22.04
outputs:
version: ${{ steps.version.outputs.current }}
previous: ${{ steps.version.outputs.previous }}
current: ${{ steps.version.outputs.current }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -25,14 +26,14 @@ jobs:
needs: diff
runs-on: ubuntu-22.04
outputs:
tag: ${{ steps.tag.outputs }}
if: needs.diff.outputs.version.previous != needs.diff.outputs.version.current
tag: ${{ steps.tag.outputs.tag }}
if: needs.diff.outputs.previous != needs.diff.outputs.current
steps:
- uses: actions/checkout@v4
- name: create tag
id: tag
run: |
tag=${{ needs.diff.outputs.version.current }}
tag=${{ needs.diff.outputs.current }}
git tag $tag
git push origin $tag
echo "tag=$tag" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 28356b4

Please sign in to comment.