Skip to content

Commit ac994c2

Browse files
author
Travis Holloway
committed
Update website workflow to get the directory structure correct for the docs branch
1 parent 782a775 commit ac994c2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/website.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ jobs:
4343
env:
4444
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
run: |
46-
cd docs
46+
pubdir="$(mktemp -d)"
47+
mkdir -p "$pubdir/docs"
48+
cp -a docs/. "$pubdir/docs/"
49+
touch "$pubdir/.nojekyll"
50+
cd "$pubdir"
4751
git init -q
4852
git checkout -B docs
4953
git -c user.email=github.bot@webpros.com \

0 commit comments

Comments
 (0)