-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c383b1
commit 7eeba57
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release Cyfrin Brandkit | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v[1]+.[0-0]+" | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: write | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Zip Folder | ||
run: cd media && cp && zip - Cyfrin_Brand_Kit.zip . && mv Cyfrin_Brand_Kit.zip ../ | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
prerelease: false | ||
files: Cyfrin_Brand_Kit.zip | ||
generate_release_notes: true | ||
body: | | ||
### This is a release of the Cyfrin Brand Kit, a collection of assets for use in Cyfrin projects. |