Files
BaC/.gitea/workflows/release.yml
VC c9365ebc48
Some checks failed
release / build (push) Failing after 0s
test: ci pipeline
2025-02-28 17:58:59 +01:00

23 lines
478 B
YAML

---
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
- runs: tar -czf public-$(date -I).tar.gz public/
- name: Do release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: "*.tar.gz"