mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 08:01:54 +02:00
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
21 lines
No EOL
491 B
YAML
21 lines
No EOL
491 B
YAML
name: Create Config ZIP
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'config/_default/**'
|
|
|
|
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 |