Skip to content

Commit

Permalink
gh-pages: optimize effect script
Browse files Browse the repository at this point in the history
Less operations, simpler code.
  • Loading branch information
MatthewCroughan committed Jan 9, 2022
1 parent 3395bea commit 9c96337
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flake.nix
Expand Up @@ -54,12 +54,10 @@
export GIT_COMMITTER_NAME="Hercules-CI Effects"
export EMAIL="github@croughan.sh"
mkdir gh-pages && cd gh-pages
cp -r --no-preserve=mode ${self.website} ./gh-pages && cd gh-pages
git init -b gh-pages
git remote add origin git@github.com:Plutonomicon/plutonomicon.git
cp -r ${self.website}/* .
cp -r ${self.website}/.nojekyll .
git add . .nojekyll
git add .
git commit -m "Deploy to gh-pages"
git push -f origin gh-pages:gh-pages
'';
Expand Down

0 comments on commit 9c96337

Please sign in to comment.