diff --git a/_forgejo/workflows/publish.yaml b/_forgejo/workflows/publish.yaml new file mode 100644 index 0000000..959f9df --- /dev/null +++ b/_forgejo/workflows/publish.yaml @@ -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