File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 33
33
uses : actions/checkout@v2
34
34
with :
35
35
path : main
36
- - name : Clone Wiki
37
- uses : actions/checkout@v2
38
- with :
39
- repository : ${{github.repository}}.wiki
40
- path : wiki
41
36
- name : Set Up Python
42
37
uses : actions/setup-python@v2
43
38
with :
51
46
env :
52
47
# Full logs for CI build
53
48
BUILDKIT_PROGRESS : plain
49
+ - name : Clone Wiki
50
+ uses : actions/checkout@v2
51
+ with :
52
+ repository : ${{github.repository}}.wiki
53
+ path : wiki
54
54
- name : Run Post-Build Hooks
55
55
run : make -C main hook-all
56
+ - name : Push Wiki to GitHub
57
+ if : github.ref == 'refs/heads/master'
58
+ # Pass GITHUB_REPOSITORY directly to avoid conflict with GitHub Actions built-in env var
59
+ run : make -C main git-commit GITHUB_REPOSITORY='${{github.repository}}.wiki'
60
+ env :
61
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
62
+ LOCAL_PATH : ../wiki
56
63
- name : Login to Docker Hub
57
64
if : github.ref == 'refs/heads/master'
58
65
run : >
61
68
- name : Push Images to DockerHub
62
69
if : github.ref == 'refs/heads/master'
63
70
run : make -C main push-all
64
- - name : Push Wiki to GitHub
65
- if : github.ref == 'refs/heads/master'
66
- # Pass GITHUB_REPOSITORY directly to avoid conflict with GitHub Actions built-in env var
67
- run : make -C main git-commit GITHUB_REPOSITORY='${{github.repository}}.wiki'
68
- env :
69
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
70
- LOCAL_PATH : ../wiki
You can’t perform that action at this time.
0 commit comments