Skip to content

Commit 6154491

Browse files
committed
fix new gh-pages action
1 parent c8f80de commit 6154491

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
git fetch origin ${PUBLISH_BRANCH}
4040
git checkout ${PUBLISH_BRANCH}
4141
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 | tail -n +2 | xargs -I % cp -rf % "."
42+
cd ${GITHUB_WORKSPACE}
4243
git add --all
4344
git commit --allow-empty -m "Automated deployment: $(date -u) ${GITHUB_SHA}"
44-
git push origin ${PUBLISH_BRANCH}
45+
git push origin ${PUBLISH_BRANCH}

0 commit comments

Comments
 (0)