mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 06:25:45 -06:00
Merge branch 'main' into dev
This commit is contained in:
commit
31e19a6bc5
2 changed files with 14 additions and 10 deletions
22
.github/workflows/create-config-zip.yml
vendored
22
.github/workflows/create-config-zip.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Create ZIP
|
||||
name: Create Config ZIP
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
@ -8,14 +8,18 @@ jobs:
|
|||
zip:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
- run: zip -r config-default.zip config/_default
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: config-default
|
||||
path: config-default.zip
|
||||
- name: Upload to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
- name: Create/Update latest release # adds file static url
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: config-default.zip
|
||||
tag_name: ${{ github.event.release.tag_name }}
|
||||
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 }}
|
|
@ -145,7 +145,7 @@ blowfish-tools new mynewsite
|
|||
4. In the root folder of your website, delete the `hugo.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
||||
|
||||
> **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://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip) from GitHub.
|
||||
|
||||
5. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.
|
||||
|
|
Loading…
Reference in a new issue