flake: add treefmt, reorganize flake, format using treefmt
This commit is contained in:
parent
967b613d91
commit
12aa7125b5
17 changed files with 187 additions and 123 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -32,17 +32,13 @@ jobs:
|
|||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: DeterminateSystems/flake-checker-action@main
|
||||
- name: Build with Hugo
|
||||
run: |
|
||||
nix develop --command bash -c "hugo \
|
||||
--environment production \
|
||||
--minify \
|
||||
--baseURL '${{ steps.pages.outputs.base_url }}/'"
|
||||
run: nix run .
|
||||
- name: Upload to GitHub Pages
|
||||
uses: actions/upload-pages-artifact@main
|
||||
with:
|
||||
path: ./public
|
||||
- name: Upload to Netim FTP
|
||||
uses: SamKirkland/FTP-Deploy-Action@main
|
||||
uses: SamKirkland/FTP-Deploy-Action@master
|
||||
with:
|
||||
server: ftp.netim.hosting
|
||||
username: AS12798_FTP1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue