15 lines
250 B
Bash
Executable File
15 lines
250 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if git checkout gh-pages
|
|
then
|
|
rm -rf css
|
|
rm -rf img
|
|
rm -rf js
|
|
cp -r ../falconframework.org/* .
|
|
|
|
git add --all *
|
|
git commit -m 'doc: Publish website'
|
|
git push origin gh-pages
|
|
git checkout master
|
|
fi
|