Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚙️Update Create Config Zip pipeline to trigger on release #1872

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/create-config-zip.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create ZIP
name: Create Config ZIP
on:
release:
types: [published]
Expand All @@ -10,12 +10,16 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v3
- name: Create/Update latest release # adds file static url
uses: softprops/action-gh-release@v1
with:
name: config-default
path: config-default.zip
- name: Upload to release
files: config-default.zip
tag_name: latest
name: Latest Config Files
body: Automated config files bundle
- name: Add to version release # adds file to the release assets
if: github.event_name == 'release' # run on actual releases, not manual triggers
uses: softprops/action-gh-release@v1
with:
files: config-default.zip
tag_name: ${{ github.event.release.tag_name }}
tag_name: ${{ github.event.release.tag_name }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ blowfish-tools new mynewsite

> **Note:** Do not overwrite the `module.toml` file you created above!

You will find these theme config files in the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nunocoracao/blowfish/tree/main/config/_default) from GitHub.
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/download/latest/config-default.zip) from GitHub.

5. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.

Expand Down