File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 13
13
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
17
-
16
+ - uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
18
19
- name : Set up Python
19
20
uses : actions/setup-python@v4
20
21
with :
31
32
- name : Install dependencies
32
33
run : |
33
34
poetry --version
34
- poetry install
35
+ poetry install --with main,docs
35
36
36
37
37
38
- name : Deploy to GitHub Pages
70
71
env :
71
72
ACTIONS_DEPLOY_TOKEN : ${{ secrets.ACTIONS_DEPLOY_TOKEN }}
72
73
run : |
74
+ git fetch
73
75
git config --global user.name '${{ github.actor }}'
74
76
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
75
77
#git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_DEPLOY_TOKEN }}@github.com/${{ github.repository }}.git
You can’t perform that action at this time.
0 commit comments