ci: add wally publish workflow on release
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
name: publish to wally
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
wally:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: setup rokit
|
||||||
|
uses: CompeyDev/setup-rokit@v0.1.2
|
||||||
|
|
||||||
|
- name: login
|
||||||
|
run: wally login --token "${{ secrets.WALLY_TOKEN }}"
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
run: wally publish
|
||||||
Reference in New Issue
Block a user