diff --git a/.github/workflows/create-config-zip.yml b/.github/workflows/create-config-zip.yml new file mode 100644 index 00000000..2df24601 --- /dev/null +++ b/.github/workflows/create-config-zip.yml @@ -0,0 +1,21 @@ +name: Create ZIP +on: + release: + types: [published] + 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: ${{ github.event.release.tag_name }}