From 39ef9b61d5a5fbf06fd08b6fef5860f81a620864 Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 28 Feb 2025 16:02:27 +0100 Subject: [PATCH] test: ci pipeline --- .gitea/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..6f7e863 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,26 @@ +--- +name: release + +on: + push: + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v4 + - name: Build only + uses: shalzz/zola-deploy-action@v0.20.0 + env: + BUILD_ONLY: true + - name: Create archive + run: tar -czf public.tar.gz public/ + - name: Use Go Action + uses: https://gitea.com/actions/gitea-release-action@v1 + with: + files: |- + public.tar.gz + api_key: '${{secrets.RELEASE_TOKEN}}'