Skip to content

Commit

Permalink
changed ci-cd release action
Browse files Browse the repository at this point in the history
  • Loading branch information
i3ene committed Jun 13, 2023
1 parent 0243a69 commit d85bc1f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,13 @@ jobs:

- name: Bundle
run: npm run bundle

- name: ZIP files
run: zip -r ${{ github.ref_name }}.zip dist/decksterous api/bundle

- name: Create release
uses: Roang-zero1/github-create-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload release artifacts
uses: Roang-zero1/github-upload-release-artifacts-action@v2
- name: Release files
uses: softprops/action-gh-release@v1
with:
args: "dist/decksterous/ api/bundle/"
files: ${{ github.ref_name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d85bc1f

Please sign in to comment.