diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-09-11 01:55:00 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-09-11 01:55:00 +0900 |
commit | f3f71bf5b1e9727ccfed83bfe4c229997605c8fb (patch) | |
tree | 4e6c8affa0b7c2b99a3c2b1c6d1a9ddb8e51d568 /.builds | |
parent | a7a7734699a04099083fe4f5514058505ecd66d8 (diff) | |
download | site-f3f71bf5b1e9727ccfed83bfe4c229997605c8fb.tar.gz |
Migrate to cnx.gdn
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/auto.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.builds/auto.yml b/.builds/auto.yml index e0ac326..29b4467 100644 --- a/.builds/auto.yml +++ b/.builds/auto.yml @@ -10,7 +10,7 @@ environment: NODE: node tasks: - inject: | - grep -C1 cnx.srht.site fediring.net/webring.txt | + grep -C1 cnx.gdn fediring.net/webring.txt | awk 'NR % 2 { print $2 }' > site/_libs/fediring openring -n 4 -l 192 -S site/_libs/openring/sources\ < site/_libs/openring/in.html > site/_libs/openring/out.html @@ -21,4 +21,6 @@ tasks: nix-shell -p python3Packages.css-html-js-minify --run _libs/postprocess - deploy: | tar -cvzf site.tar.gz -C site/__site . - acurl -f https://pages.sr.ht/publish/cnx.srht.site -F content=@site.tar.gz + acurl -f https://pages.sr.ht/publish/cnx.gdn -F content=@site.tar.gz +artifacts: + - site.tar.gz |