From 12d5e5e7d77d8a647c43074021c221b2f1692962 Mon Sep 17 00:00:00 2001 From: 0h My Goat Date: Thu, 9 Nov 2023 16:54:16 +0100 Subject: [PATCH] refactor: update links to go to index --- .github/workflows/generate_static_site.yaml | 4 ++++ cours/01_Presentation.slides.md | 2 +- cours/02_Premiers_pas.slides.md | 2 +- cours/03_Images_et_conteneurs.slides.md | 2 +- cours/04_Volumes_et_Networks.slides.md | 2 +- cours/05_Dockerfile.slides.md | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/generate_static_site.yaml b/.github/workflows/generate_static_site.yaml index 22a08ee..f306cec 100644 --- a/.github/workflows/generate_static_site.yaml +++ b/.github/workflows/generate_static_site.yaml @@ -17,6 +17,10 @@ jobs: run: reveal-md ./cours --static --glob '*.slides.md' - name: run the apply_theme bash script run: bash ./apply_theme.sh + - name: remove index.html + run: rm ./_static/index.html + - name: rename 00_index.slides.html to index.html + run: mv ./_static/00_index.slides.html ./_static/index.html - name: push to gh-pages uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/cours/01_Presentation.slides.md b/cours/01_Presentation.slides.md index 3104959..b45d556 100644 --- a/cours/01_Presentation.slides.md +++ b/cours/01_Presentation.slides.md @@ -238,4 +238,4 @@ sources: # La suite ! -- [Premiers pas](./02_Premiers_pas.slides.md) \ No newline at end of file +- [Index](/index.html) \ No newline at end of file diff --git a/cours/02_Premiers_pas.slides.md b/cours/02_Premiers_pas.slides.md index c8d49c6..dab9e2b 100644 --- a/cours/02_Premiers_pas.slides.md +++ b/cours/02_Premiers_pas.slides.md @@ -265,4 +265,4 @@ Commandes de base linux : # La suite ! -- [Les images](03_Images_et_conteneurs.slides.md) \ No newline at end of file +- [Index](/index.html) \ No newline at end of file diff --git a/cours/03_Images_et_conteneurs.slides.md b/cours/03_Images_et_conteneurs.slides.md index 56b3216..65bf76f 100644 --- a/cours/03_Images_et_conteneurs.slides.md +++ b/cours/03_Images_et_conteneurs.slides.md @@ -236,4 +236,4 @@ Note: docker container rename nom_actuel NGINX_Demo # La suite ! -[Volumes et Networks](04_Volumes_et_Networks.slides.md) \ No newline at end of file +- [Index](/index.html) \ No newline at end of file diff --git a/cours/04_Volumes_et_Networks.slides.md b/cours/04_Volumes_et_Networks.slides.md index c595303..1a08785 100644 --- a/cours/04_Volumes_et_Networks.slides.md +++ b/cours/04_Volumes_et_Networks.slides.md @@ -302,4 +302,4 @@ Dans Docker, on distingue plusieurs types de réseaux : # La suite ! -- [Dockerfile](./05_Dockerfile.slides.md) \ No newline at end of file +- [Index](/index.html) \ No newline at end of file diff --git a/cours/05_Dockerfile.slides.md b/cours/05_Dockerfile.slides.md index a519c32..f6b66b2 100644 --- a/cours/05_Dockerfile.slides.md +++ b/cours/05_Dockerfile.slides.md @@ -225,4 +225,4 @@ Montons ensemble un Dockerfile en multistage pour une application React. # La suite ! -[Docker Compose](06_Docker-Compose.slides.md) \ No newline at end of file +- [Index](/index.html) \ No newline at end of file