Skip to content

Commit 52d2317

Browse files
committed
Update git deployement
1 parent 9ec57a3 commit 52d2317

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ jobs:
66
name: 'Deploy Nikola to GitHub Pages'
77
steps:
88
- name: Check out
9-
uses: actions/checkout@v2
10-
- name: Fix git ownership
11-
run: git config --global --add safe.directory /github/workspace
9+
uses: actions/checkout@v4
10+
with:
11+
fetch-depth: 0
1212
- name: Build and Deploy Nikola
1313
uses: getnikola/nikola-action@v2
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)