meta: Fix lastmod date error in GitHub Actions
This commit is contained in:
parent
b6232c6c49
commit
fa8cf1f9cd
2 changed files with 3 additions and 18 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
|
@ -25,6 +25,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@main
|
uses: actions/configure-pages@main
|
||||||
|
|
|
||||||
18
flake.nix
18
flake.nix
|
|
@ -47,24 +47,6 @@
|
||||||
${pkgs.hugo}/bin/hugo --minify
|
${pkgs.hugo}/bin/hugo --minify
|
||||||
'').outPath;
|
'').outPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
test = {
|
|
||||||
type = "app";
|
|
||||||
program =
|
|
||||||
(pkgs.writeShellScript "test-website" ''
|
|
||||||
set -e
|
|
||||||
${pkgs.hugo}/bin/hugo --environment="development"
|
|
||||||
'').outPath;
|
|
||||||
};
|
|
||||||
|
|
||||||
server = {
|
|
||||||
type = "app";
|
|
||||||
program =
|
|
||||||
(pkgs.writeShellScript "serve-website" ''
|
|
||||||
set -e
|
|
||||||
${pkgs.hugo}/bin/hugo server
|
|
||||||
'').outPath;
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue