Skip to content

Commit 85eb763

Browse files
committed
doc finale
1 parent 6ee110a commit 85eb763

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/doc-deploy.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
push:
99
branches:
1010
- master
11-
- 1811_mkdocs_documentation_website
12-
- pr0010
1311
paths:
1412
- docs/**
1513
workflow_dispatch:
@@ -130,7 +128,7 @@ jobs:
130128
run: |
131129
echo "Mise à jour de l'URL de déploiement"
132130
PR_BRANCH="${{ github.event.pull_request.head.ref }}"
133-
BASE_URL="https://titouvgx.github.io/tock/"
131+
BASE_URL="https://doc.tock.ai/tock/"
134132
NEW_URL="${BASE_URL}${PR_BRANCH}/"
135133
echo "new_page_url=$NEW_URL" >> $GITHUB_OUTPUT
136134
@@ -237,7 +235,6 @@ jobs:
237235
238236
if [ ! -d "$folder_path" ]; then
239237
echo "❌ Aucun dossier trouvé pour la branche ${BRANCH_NAME} !"
240-
exit 1
241238
else
242239
rm -rf "$folder_path"
243240
echo "✅ Dossier supprimé avec succès."
@@ -253,7 +250,7 @@ jobs:
253250
- name: Deploy to GitHub Pages
254251
id: deployment
255252
uses: actions/deploy-pages@v4
256-
253+
257254
- name: Post cleanup comment
258255
uses: actions/github-script@v7
259256
with:

0 commit comments

Comments
 (0)