Skip to content

Commit

Permalink
Upload built page to release page. (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Jun 28, 2024
1 parent b54afe8 commit 1bce95c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ jobs:
${{ env.VERSION }}.${{ env.ARTIFACT_EXTENSION }}
VERSION
- name: Upload release artifacts
if: |
github.event_name == 'release' ||
github.event_name == 'push' && github.ref_name == 'master' ||
github.event_name == 'push' && startsWith(github.ref_name, 'release-v')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.VERSION }}.${{ env.ARTIFACT_EXTENSION }}
asset_name: build.${{ env.ARTIFACT_EXTENSION }}
tag: ${{ github.event.release.tag_name }}
overwrite: true

upload:
runs-on: ubuntu-latest
needs: [ ci ]
Expand Down

0 comments on commit 1bce95c

Please sign in to comment.