Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Add publish action (#1)
Browse files Browse the repository at this point in the history
* add publish action

* fix tarball download

* fix tarball download

* fix tarball download

* run when a release is published
  • Loading branch information
juliangruber authored Jan 31, 2024
1 parent 7736d01 commit d19fefa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl -L https://api.github.com/repos/${{ github.repository }}/tarball/${{ github.sha }} > source.tar.gz
- uses: filecoin-station/publish-zinnia-module-action@v0
with:
source: source.tar.gz
w3up-private-key: ${{ secrets.W3UP_PRIVATE_KEY }}
w3up-proof: ${{ secrets.W3UP_PROOF }}
w3name-private-key: ${{ secrets.W3NAME_PRIVATE_KEY }}
w3name-revision: ${{ secrets.W3NAME_REVISION }}

0 comments on commit d19fefa

Please sign in to comment.