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
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "result/pdf/*"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: "result/site"
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
artifacts: "result/pdf/*,result/*.tar.gz"
|
||||
# - name: Upload artifact
|
||||
# uses: actions/upload-pages-artifact@v3
|
||||
# with:
|
||||
# path: "result/site"
|
||||
# - name: Deploy to GitHub Pages
|
||||
# id: deployment
|
||||
# uses: actions/deploy-pages@v4
|
||||
@ -1,14 +1,13 @@
|
||||
{ src, stdenv, ... }:
|
||||
{ src, stdenv, gnutar, ... }:
|
||||
stdenv.mkDerivation {
|
||||
inherit src;
|
||||
pname = "GH-Action-builder";
|
||||
version = "0.0.1";
|
||||
buildInputs = [ ];
|
||||
nativeBuildInputs = [ gnutar ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/pdf
|
||||
mkdir -p $out/site
|
||||
mv *.pdf $out/pdf
|
||||
mv * $out/site
|
||||
tar -czf $out/site.tar.gz *
|
||||
'';
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user