From f77b0d3a36b5501234541f34ffe4e92a81ac4cfe Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 3 Jun 2020 16:58:50 -0400 Subject: [PATCH] move remove and add operation later --- .github/workflows/gh-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 44370f16..b03f3cf7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,11 +23,11 @@ jobs: clean: false - name: Move & Commit files run: | - rm -rf d* && rm *.html && rm *.svg && rm *.map && rm *.md5 && rm *.png && rm *.js && rm *.css && rm dir_*.* - cp -rp ./build/html/* . && rm -rf ./build && 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 + rm -rf d* && rm *.html && rm *.svg && rm *.map && rm *.md5 && rm *.png && rm *.js && rm *.css && rm dir_* + cp -rp ./build/html/* . && rm -rf ./build && ls -lah git add * git commit -m "Documentation for $GITHUB_SHA" || true # git push --force || true