From 10df8f96f44f5afd78c9d3af9904b43fd391670d Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Mon, 30 Oct 2023 23:38:48 +0100 Subject: [PATCH] ci(github/workflows/deploy): add initial version --- .github/workflows/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..9740dba --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: Deploy + +on: + push: + tags: + - 'v*.*.*' + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v4 + - name: Cache + uses: DeterminateSystems/magic-nix-cache-action@v2 + - name: Build + run: nix build + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: result/* + token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}