blowfish/.github/workflows/create-config-zip.yml
racehd 9f700552bc Add CI/CD pipeline to bundle config files
The CI/CD pipeline will trigger when changes are pushed to config/_default/**. The pipeline will then package the config files into a zip and make them available at a static URL: https://github.com/nunocoracao/blowfish/releases/download/latest/config-default.zip
2024-12-02 13:38:45 -05:00

23 lines
No EOL
528 B
YAML

name: Create ZIP
on:
push:
branches: ["main"]
paths:
- 'config/_default/**'
workflow_dispatch:
jobs:
zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v3
with:
name: config-default
path: config-default.zip
- name: Upload to release
uses: softprops/action-gh-release@v1
with:
files: config-default.zip
tag_name: latest