mirror of
https://github.com/beta-nu-theta-chi/bylaws.git
synced 2025-12-07 11:44:47 +00:00
disable github pages
This commit is contained in:
parent
5edc922032
commit
8bbb3539a5
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -20,11 +20,11 @@ jobs:
|
|||||||
sh build.sh
|
sh build.sh
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "result/pdf/*"
|
artifacts: "result/pdf/*,result/*.tar.gz"
|
||||||
- name: Upload artifact
|
# - name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
# uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
# with:
|
||||||
path: "result/site"
|
# path: "result/site"
|
||||||
- name: Deploy to GitHub Pages
|
# - name: Deploy to GitHub Pages
|
||||||
id: deployment
|
# id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
# uses: actions/deploy-pages@v4
|
||||||
@ -1,14 +1,13 @@
|
|||||||
{ src, stdenv, ... }:
|
{ src, stdenv, gnutar, ... }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit src;
|
inherit src;
|
||||||
pname = "GH-Action-builder";
|
pname = "GH-Action-builder";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
buildInputs = [ ];
|
nativeBuildInputs = [ gnutar ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/pdf
|
mkdir -p $out/pdf
|
||||||
mkdir -p $out/site
|
|
||||||
mv *.pdf $out/pdf
|
mv *.pdf $out/pdf
|
||||||
mv * $out/site
|
tar -czf $out/site.tar.gz *
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user