From 9a53874149cdabdc46fa9145cf10e6cadeab8235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphae=CC=88l=20Goetter?= Date: Mon, 16 Sep 2024 16:54:05 +0200 Subject: [PATCH] commente fichier config Github Actions --- .github/workflows/static.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 21d31ab..49b249b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -33,6 +33,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 + # Ajoute build via pnpm (début) - name: Install pnpm uses: pnpm/action-setup@v4 with: @@ -41,16 +42,17 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + cache: "pnpm" - name: Install dependencies run: pnpm install - name: Build project run: pnpm build + # Ajoute build via pnpm (fin) - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: 'dist' + # Upload entire repository (mis à jour avec `dist`) + path: "dist" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4