mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-22 05:21:49 +03:00
move remove and add operation later
This commit is contained in:
parent
b2f532ef37
commit
f77b0d3a36
4
.github/workflows/gh-pages.yml
vendored
4
.github/workflows/gh-pages.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user