Add a GitHub Actions workflow to build and update website (#2603)
This commit is contained in:
1 parent
527ea012f3
commit
cd4dc1e6d1
4 files changed
+48
-7
No files matched your search
@@ -1,16 +1,17 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# This script builds the website from the docs directory of
|
||||
# the current branch and copies it over to the gh-pages
|
||||
# branch.
|
||||
|
||||
set -eu
|
||||
set -o xtrace
|
||||
set -eux
|
||||
shopt -s dotglob
|
||||
|
||||
# build website
|
||||
scriptdir=`dirname "$0"`
|
||||
scriptdir=$(dirname "$0")
|
||||
cd "$scriptdir"/../docs
|
||||
rm -rf output
|
||||
mkdir output
|
||||
pipenv run python3 build_website.py
|
||||
cd ..
|
||||
|
||||
|
||||
Reference in new issue
Block a user