wip
This commit is contained in:
parent
a1aa259c1a
commit
2c660d0958
15
_forgejo/workflows/publish.yaml
Normal file
15
_forgejo/workflows/publish.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test_checkout:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: rust:slim-bookworm
|
||||
steps:
|
||||
- run: apt-get update -y && apt-get install -y nodejs
|
||||
- run: cargo install trunk
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- run: |
|
||||
trunk build --release --public-url '.'
|
||||
cd dist
|
||||
git init
|
||||
git remote add origin $GITHUB_TOKEN
|
Loading…
Reference in a new issue