This commit is contained in:
21
.gitea/workflows/release.yml
Normal file
21
.gitea/workflows/release.yml
Normal file
@@ -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
|
||||
- name: Do release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: public/
|
Reference in New Issue
Block a user