cach-radio/inc/themes/castanet/.github/workflows/release.yml.old

33 lines
1.2 KiB
YAML

# name: Release Drafter
# on:
# push:
# # branches to consider in the event; optional, defaults to all
# branches:
# - master
# jobs:
# update_release_draft:
# name: Draft release
# runs-on: ubuntu-latest
# steps:
# # Drafts your next Release notes as Pull Requests are merged into "master"
# - uses: release-drafter/release-drafter@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# build:
# name: Publish zip file
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Build
# run: |
# zip -r castanet-${{ steps.update_release_draft.outputs.tag }}.zip . -x \*.git\* \*exampleSite\* appveyor.yml \*.circleci\* \*tests\* \*bin\* \*build\* \*release\* config.codekit3 \*node_modules\* gulpfile.js netlify.toml package.json STYLE.md *\node_modules\* \*test\*
# - name: Upload zip file to release
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: castanet-${{ steps.update_release_draft.outputs.tag }}.zip
# tag: ${{ steps.update_release_draft.outputs.tag }}
# overwrite: true