mirror of https://github.com/TheAlgorithms/C
use actions checkout to checkout branch
This commit is contained in:
parent
630f213118
commit
9275b6a97e
|
@ -20,8 +20,11 @@ jobs:
|
|||
- name: build
|
||||
run: cmake --build build -t doc
|
||||
- name: gh-pages
|
||||
run: git checkout gh-pages
|
||||
- name: cleanup
|
||||
run: ls -lah && rm -r !("build")
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: "gh-pages"
|
||||
clean: true
|
||||
# - name: cleanup
|
||||
# run: ls -lah && rm -r !("build")
|
||||
- name: commit
|
||||
run: mv ./build/html . && rm -rf ./build && ls -lah
|
||||
|
|
Loading…
Reference in New Issue