From 2c660d09582b4879e62fbda271c4d7c8380983ca Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Wed, 13 Mar 2024 13:12:31 +0100 Subject: [PATCH] wip --- _forgejo/workflows/publish.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _forgejo/workflows/publish.yaml 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