mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
9f700552bc
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
23 lines
No EOL
528 B
YAML
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 |