Skip to content

Commit

Permalink
STAC-21693 Make it easier to download backup scripts
Browse files Browse the repository at this point in the history
By storing them as an asset on the helm chart release
  • Loading branch information
rb3ckers committed Oct 28, 2024
1 parent 84a85f4 commit c994776
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Main

on:
push:
tags:
- "suse-observability/*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create backup scripts zip file
run: |
tar czf backup-scripts-${GITHUB_REF_NAME#suse-observability/}.tar.gz -C stable/suse-observability/restore *.sh
- name: Release
uses: softprops/action-gh-release@v2
with:
files: backup-scripts-${GITHUB_REF_NAME#suse-observability/}.tar.gz

0 comments on commit c994776

Please sign in to comment.