16 lines
411 B
YAML
16 lines
411 B
YAML
|
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
|