Skip to content

Commit

Permalink
improve release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeicor committed Mar 3, 2024
1 parent 4bd025e commit 2475a00
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ jobs:
name: "logo"
path: "./public"
allow_forks: false
- uses: "svenstaro/upload-release-action@v2"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
file: "./public/*"
asset_name: "frontend"
tag: "${{ github.ref }}"
overwrite: true
file_glob: true
- uses: "actions/configure-pages@v4"
- uses: "actions/upload-pages-artifact@v3"
with:
path: 'public'
- id: "deployment"
uses: "actions/deploy-pages@v4"
- run: 'zip -r frontend.zip public'
- uses: "svenstaro/upload-release-action@v2"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
file: "frontend.zip"
asset_name: "frontend"
tag: "${{ github.ref }}"
overwrite: true

# TODO: deploy-backend

0 comments on commit 2475a00

Please sign in to comment.