File tree Expand file tree Collapse file tree 3 files changed +27
-22
lines changed Expand file tree Collapse file tree 3 files changed +27
-22
lines changed Original file line number Diff line number Diff line change 73
73
push : ${{ github.event_name != 'pull_request' }}
74
74
tags : ${{ steps.meta.outputs.tags }}
75
75
labels : ${{ steps.meta.outputs.labels }}
76
- update-gh-pages :
77
- if : startsWith(github.ref, 'refs/tags/v')
78
- name : Generate and upload new GitHub Pages
79
- runs-on : ubuntu-latest
80
- needs :
81
- - push-to-registries
82
- steps :
83
- - name : Check out the repo
84
- uses : actions/checkout@v2
85
- with :
86
- fetch-depth : 0
87
- - name : Run action
88
- uses : ./
89
- with :
90
- src : .
91
- dst : ./result
92
- - name : Deploy GH Pages
93
- uses : peaceiris/actions-gh-pages@v3
94
- with :
95
- github_token : ${{ secrets.GITHUB_TOKEN }}
96
- publish_dir : ./result
Original file line number Diff line number Diff line change
1
+ name : Update documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ update-gh-pages :
10
+ name : Generate and upload new GitHub Pages
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Check out the repo
14
+ uses : actions/checkout@v2
15
+ with :
16
+ fetch-depth : 0
17
+ - name : Run action
18
+ uses : ./
19
+ with :
20
+ src : .
21
+ dst : ./result
22
+ - name : Deploy GH Pages
23
+ uses : peaceiris/actions-gh-pages@v3
24
+ with :
25
+ github_token : ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir : ./result
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This repository contains the definition of a Docker image that can be used both
14
14
- ** tasklist** : Enables GitHub style tasks list. See the [ docs] ( https://facelessuser.github.io/pymdown-extensions/extensions/tasklist/ ) .
15
15
- ** abbreviations** : Enables explanations for abbrevations. See the [ docs] ( https://python-markdown.github.io/extensions/abbreviations/ ) .
16
16
- ** footnotes** : Enables footnotes. See the [ docs] ( https://python-markdown.github.io/extensions/footnotes/ ) .
17
- - ** git-revision-date-localized** : ` {{ git_revision_date_localized }} ` , ` {{ git_creation_date_localized }} ` .
17
+ - ** git-revision-date-localized** : Enables linking last edit date of the page. See the [ docs ] ( https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html ) .
18
18
19
19
## Usage
20
20
You can use ** markdown-docs** both as a [ GitHub Acton] ( #as-github-action ) or a [ Docker builder stage] ( #as-docker-builder ) inside your dockerfile.
You can’t perform that action at this time.
0 commit comments