From 7e817b6c69280d193c03e862ba8085ccb70dc548 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 30 Dec 2024 03:04:55 +0000 Subject: [PATCH] actions: init lukegbcom deployer workflow --- .forgejo/workflows/lukegbcom.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .forgejo/workflows/lukegbcom.yaml diff --git a/.forgejo/workflows/lukegbcom.yaml b/.forgejo/workflows/lukegbcom.yaml new file mode 100644 index 0000000000..61447cb346 --- /dev/null +++ b/.forgejo/workflows/lukegbcom.yaml @@ -0,0 +1,17 @@ +on: [push] +jobs: + build: + runs-on: cacher + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Drop in ops/secrets/default.nix + run: | + echo "$OPS_SECRETS_DEFAULTNIX" > ops/secrets/default.nix + env: + OPS_SECRETS_DEFAULTNIX: "${{ secrets.OPS_SECRETS_DEFAULTNIX }}" + + - name: Build and deploy + run: | + web/lukegbcom/deploy.sh