Compare commits
1 Commits
tamerelol
...
07e350bf67
Author | SHA1 | Date | |
---|---|---|---|
![]() |
07e350bf67 |
24
.gitea/workflows/release.yml
Normal file
24
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
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: Do release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: public.tar.gz
|
Reference in New Issue
Block a user