We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fab90 commit 8822fb0Copy full SHA for 8822fb0
.github/workflows/main.yml
@@ -23,6 +23,16 @@ jobs:
23
steps:
24
- name: Checkout Master
25
uses: actions/checkout@v3
26
+ - uses: actions/checkout@v2
27
+ if: github.event_name == 'pull_request'
28
+ with:
29
+ fetch-depth: 0
30
+ ref: ${{ github.event.pull_request.head.ref }}
31
+
32
+ - uses: actions/checkout@v3
33
+ if: github.event_name == 'push'
34
35
36
37
- name: Set up Python 3.7
38
uses: actions/setup-python@v2
@@ -39,9 +49,8 @@ jobs:
39
49
pwd
40
50
ls -la
41
51
- name: Deploy
42
- uses: actions/deploy-pages@v1
43
52
# with:
44
- # branch: master # The branch the action should deploy to.
45
- # run: |
46
- # git pull
47
- # mkdocs gh-deploy
53
+ # branch: master # The branch the action should deploy to.
54
+ run: |
55
+ git pull
56
+ mkdocs gh-deploy
0 commit comments