diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9afa9118..6d4dff59 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -26,10 +26,10 @@ jobs: clean: false - name: Move & Commit files run: | - mv ./build/html/*.* . && rm -rf ./build && rm-rf function_timer && ls -lah + cp -rp ./build/html/*.* . && rm -rf ./build && rm-rf function_timer && ls -lah git config --global user.name github-actions git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY git add *.* - git commit -am "Documentation for ${BUILD_SHA}" || true + git commit -am "Documentation for $BUILD_SHA" || true git push --force || true