mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
Merge pull request #1865 from racehd/config-zip
⚙️ Add CI/CD pipeline to bundle config files
This commit is contained in:
commit
2bd5ad0353
2 changed files with 24 additions and 1 deletions
23
.github/workflows/create-config-zip.yml
vendored
Normal file
23
.github/workflows/create-config-zip.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Create ZIP
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- 'config/_default/**'
|
||||||
|
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: latest
|
|
@ -119,7 +119,7 @@ blowfish-tools new mynewsite
|
||||||
|
|
||||||
3. In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
3. In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
4. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.
|
4. Follow the [Getting Started](https://blowfish.page/docs/getting-started/) instructions to configure your website.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue