From a98a93cf22cd53a92143703a0a5b6f76438a15ba 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 | 17 +++++++++++++++++ 1 file changed, 17 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..7a76f6c --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,17 @@ +name: Build + +on: + push: + branches: + - 'master' + +jobs: + # deploy it upstream + deploy: + runs-on: docker + 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 }}