Files
BaC/.gitea/workflows/release.yml
2025-02-28 19:25:41 +01:00

27 lines
556 B
YAML

---
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: Create release
uses: https://gitea.com/actions/gitea-release-action@v1
with:
files: |-
public.tar.gz
api_key: '${{secrets.RELEASE_TOKEN}}'