diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..15bd13d --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,21 @@ +--- +name: release + +on: + - push + +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 + - run: tar -czvf bac-public-$(date -I).tar.gz public/ + - name: Do release + uses: gitea.com/actions/gitea-release-action@v1 + with: + files: bac-public-$(date -I).tar.gz