From 588613f223926c93576cc51dfb4f66ebce5f7bb5 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 9 Aug 2024 20:55:15 +0100 Subject: [PATCH] ci: deploy upstream on changes --- .forgejo/workflows/build.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..d6f9c55 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,18 @@ +name: Build + +on: + push: + branches: + - 'master' + +jobs: + # deploy it upstream + deploy: + runs-on: docker + needs: [ build ] + steps: + - name: "Deploy to Skynet" + uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet@v2 + with: + input: 'simple-nixos-mailserver' + token: ${{ secrets.API_TOKEN_FORGEJO }}