Skip to content

Commit b4ca5cb

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master'
2 parents 3ddf1f9 + a565139 commit b4ca5cb

File tree

3 files changed

+27
-22
lines changed

3 files changed

+27
-22
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,3 @@ jobs:
7373
push: ${{ github.event_name != 'pull_request' }}
7474
tags: ${{ steps.meta.outputs.tags }}
7575
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

.github/workflows/docs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This repository contains the definition of a Docker image that can be used both
1414
- **tasklist**: Enables GitHub style tasks list. See the [docs](https://facelessuser.github.io/pymdown-extensions/extensions/tasklist/).
1515
- **abbreviations**: Enables explanations for abbrevations. See the [docs](https://python-markdown.github.io/extensions/abbreviations/).
1616
- **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).
1818

1919
## Usage
2020
You can use **markdown-docs** both as a [GitHub Acton](#as-github-action) or a [Docker builder stage](#as-docker-builder) inside your dockerfile.

0 commit comments

Comments
 (0)