Skip to content

Commit

Permalink
commente fichier config Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelgoetter committed Sep 16, 2024
1 parent de896e3 commit 9a53874
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 9a53874

Please sign in to comment.