removed workflow
This commit is contained in:
@@ -1,31 +0,0 @@
|
|||||||
name: Build and Release Workspace
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*' # Trigger automatically when you push a tag like "v1.0.0"
|
|
||||||
workflow_dispatch: # Allow manual triggers from the Gitea UI
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: Create Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Package Workspace Files
|
|
||||||
run: |
|
|
||||||
echo "Zipping template files..."
|
|
||||||
zip workspace.zip main.tf README.md Dockerfile
|
|
||||||
|
|
||||||
- name: Create Gitea Release and Upload Asset
|
|
||||||
uses: softprops/action-gh-release@v2
|
|
||||||
with:
|
|
||||||
files: workspace.zip
|
|
||||||
fail_on_unmatched_files: true
|
|
||||||
generate_release_notes: true
|
|
||||||
env:
|
|
||||||
# Gitea Actions injects a compatible token automatically
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user