This commit is contained in:
24
.gitea/workflows/tag.yaml
Normal file
24
.gitea/workflows/tag.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Build and Deploy on Tag
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
env:
|
||||
PACKAGE_AND_BREW: ${{ secrets.PACKAGE_AND_BREW }}
|
||||
|
||||
jobs:
|
||||
build-arch:
|
||||
runs-on: arch-builder
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: "https://git.tesses.org/tesses50/tesses-tap.git"
|
||||
token: ${{ env.PACKAGE_AND_BREW }}
|
||||
- run: |
|
||||
echo "THIS IS COOL" > file
|
||||
git config user.name "Tesses Gitea Bot"
|
||||
git config user.email "noreply@tesses.net"
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
Reference in New Issue
Block a user