mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
21 lines
319 B
Bash
Executable File
21 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rm -rf authelia
|
|
git clone git@github.com:authelia/authelia.git --branch gh-pages
|
|
|
|
pushd docs
|
|
bundle install
|
|
bundle exec jekyll build -d ../authelia
|
|
popd
|
|
|
|
COMMIT=$(git show -s --format=%h)
|
|
|
|
pushd authelia
|
|
git add -A
|
|
git commit -m "synchronize docs of commit ${COMMIT}"
|
|
git push
|
|
popd
|
|
|
|
rm -rf authelia |