Skip to content

Commit d767413

Browse files
committed
Update deploy.yml
1 parent 614f4b5 commit d767413

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/deploy.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches: [ "main" ]
66
workflow_dispatch:
77

8-
# Ajout des permissions nécessaires
98
permissions:
109
contents: read
1110
pages: write
@@ -26,14 +25,15 @@ jobs:
2625
- name: Setup Pages
2726
uses: actions/configure-pages@v4
2827

29-
- name: Build with Jekyll
30-
uses: actions/jekyll-build-pages@v1
31-
with:
32-
source: ./src
33-
destination: ./_site
34-
28+
- name: Copy source files
29+
run: |
30+
mkdir -p ./_site
31+
cp -r src/* ./_site/
32+
3533
- name: Upload artifact
3634
uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: ./_site
3737

3838
- name: Deploy to GitHub Pages
3939
id: deployment

0 commit comments

Comments
 (0)