Skip to content

Commit

Permalink
feat: use GHA to deploy pages
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Yu <[email protected]>
  • Loading branch information
Yu-Jack committed Dec 19, 2024
1 parent 03e510a commit 9e31d5e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ jobs:
run: |
echo "🍻" > release.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prerelease: true
body_path: release.txt
files: ${{ steps.info.outputs.artifacts_dir }}/*
GH_TOKEN: ${{ github.token }}
run: |
gh release create ${{ github.ref_name }} --draft --notes "Draft release for ${{ github.ref_name }}"
gh release upload ${{ github.ref_name }} ${{ steps.info.outputs.artifacts_dir }}/*
publish-gcp:
name: Publish artifacts to GCP
Expand Down

0 comments on commit 9e31d5e

Please sign in to comment.