Skip to content

Commit

Permalink
improved doc published script
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Antonellis committed Mar 11, 2021
1 parent b8fb924 commit 53fdea3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion publish_documentation.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/usr/bin/env bash

git checkout main
git pull
docker-compose run --rm mkdocs build
git add site
git stash
git checkout gh-pages
git checkout stash -- site
git commit -m 'updating documentation'
git push
git push --force
git checkout main

0 comments on commit 53fdea3

Please sign in to comment.