Skip to content

Commit

Permalink
ci: add push
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Jul 19, 2024
1 parent 83e22da commit 0ff57f1
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,24 @@ jobs:
git commit -m "chore: release ${{ inputs.version }} 🔥"
git tag "${{ inputs.version }}"
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# ssh: true
# tags: true
- name: Pack build
run: |
cd fonts; zip -r ../Lilex.zip .
cd ..
- name: Push changes
uses: ad-m/github-push-action@master
with:
ssh: true
tags: true

# - name: Create GitHub release
# if: github.event_name == 'push'
# uses: softprops/action-gh-release@v2
# with:
# name: ${{ input.version }}
# body_path: notes.md
# token: ${{ secrets.USER_PAT }}
# prerelease: ${{ contains(input.version, '-') }}
# files: |
# Lilex.zip
- name: Create GitHub release
if: github.event_name == 'push'
uses: softprops/action-gh-release@v2
with:
name: ${{ inputs.version }}
body_path: notes.md
token: ${{ secrets.USER_PAT }}
prerelease: ${{ contains(inputs.version, '-') }}
files: |
Lilex.zip

0 comments on commit 0ff57f1

Please sign in to comment.