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
|
- name: build
|
||||||
run: cmake --build build -t doc
|
run: cmake --build build -t doc
|
||||||
- name: gh-pages
|
- name: gh-pages
|
||||||
run: git checkout gh-pages
|
uses: actions/checkout@master
|
||||||
- name: cleanup
|
with:
|
||||||
run: ls -lah && rm -r !("build")
|
ref: "gh-pages"
|
||||||
|
clean: true
|
||||||
|
# - name: cleanup
|
||||||
|
# run: ls -lah && rm -r !("build")
|
||||||
- name: commit
|
- name: commit
|
||||||
run: mv ./build/html . && rm -rf ./build && ls -lah
|
run: mv ./build/html . && rm -rf ./build && ls -lah
|
||||||
|
|
Loading…
Reference in New Issue