mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-27 07:05:27 +00:00
Updated Wiki content
12
.github/workflows/deploy-wiki.yml
vendored
12
.github/workflows/deploy-wiki.yml
vendored
@@ -39,7 +39,17 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone orca-website repository
|
- name: Clone orca-website repository
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/OrcaSlicer/orca-website.git orca-website
|
for attempt in 1 2 3; do
|
||||||
|
echo "Clone attempt $attempt"
|
||||||
|
if git clone --depth 1 https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/OrcaSlicer/orca-website.git orca-website; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if [ "$attempt" -eq 3 ]; then
|
||||||
|
echo "Clone failed after $attempt attempts"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
sleep $((attempt * 15))
|
||||||
|
done
|
||||||
|
|
||||||
- name: Deploy wiki content
|
- name: Deploy wiki content
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user