File tree Expand file tree Collapse file tree 6 files changed +33
-27
lines changed Expand file tree Collapse file tree 6 files changed +33
-27
lines changed Original file line number Diff line number Diff line change 17
17
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v4
21
21
- name : Ensure Changelog Entry Made
22
22
uses : dangoslen/changelog-enforcer@v3
23
23
with :
Original file line number Diff line number Diff line change 10
10
pypi :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
- name : Setup Python
15
- uses : actions/setup-python@v1
15
+ uses : actions/setup-python@v4
16
16
with :
17
17
python-version : 3.11
18
18
- name : Install dependencies
49
49
ghpages :
50
50
runs-on : ubuntu-latest
51
51
steps :
52
- - uses : actions/checkout@v2
52
+ - uses : actions/checkout@v4
53
53
- name : Setup Python
54
- uses : actions/setup-python@v1
54
+ uses : actions/setup-python@v4
55
55
with :
56
56
python-version : 3.11
57
57
- name : Install dependencies
@@ -61,11 +61,14 @@ jobs:
61
61
- name : Build
62
62
run : |
63
63
python -m mkdocs build --clean --verbose
64
- - name : Publish to GitHub Pages
64
+ - name : Publish
65
65
if : success()
66
- uses : peaceiris/actions-gh-pages@v3
66
+ uses : cpina/github-action-push-to-another-repository@main
67
+ env :
68
+ SSH_DEPLOY_KEY : ${{ secrets.PAGES_DEPLOY_KEY }}
67
69
with :
68
- deploy_key : ${{ secrets.PAGES_DEPLOY_KEY }}
69
- external_repository : Python-Markdown/Python-Markdown.github.io
70
- publish_branch : master
71
- publish_dir : ./site
70
+ source-directory : ' site'
71
+ destination-github-username : ' Python-Markdown'
72
+ destination-repository-name : ' Python-Markdown.github.io'
73
+ user-name : ${{ github.actor }}
74
+ target-branch : master
Original file line number Diff line number Diff line change 12
12
markdown-link-check :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
- uses : gaurav-nelson/github-action-markdown-link-check@v1
17
17
with :
18
18
use-quiet-mode : yes
Original file line number Diff line number Diff line change 8
8
ghpages :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v4
12
12
- name : Setup Python
13
- uses : actions/setup-python@v1
13
+ uses : actions/setup-python@v4
14
14
with :
15
- python-version : 3.7
15
+ python-version : 3.11
16
16
- name : Install dependencies
17
17
run : |
18
18
python -m pip install --upgrade pip setuptools
22
22
python -m mkdocs build --clean --verbose
23
23
- name : Publish
24
24
if : success()
25
- uses : peaceiris/actions-gh-pages@v3
25
+ uses : cpina/github-action-push-to-another-repository@main
26
+ env :
27
+ SSH_DEPLOY_KEY : ${{ secrets.PAGES_DEPLOY_KEY }}
26
28
with :
27
- deploy_key : ${{ secrets.PAGES_DEPLOY_KEY }}
28
- external_repository : Python-Markdown/Python-Markdown.github.io
29
- publish_branch : master
30
- publish_dir : ./site
29
+ source-directory : ' site'
30
+ destination-github-username : ' Python-Markdown'
31
+ destination-repository-name : ' Python-Markdown.github.io'
32
+ user-name : ${{ github.actor }}
33
+ target-branch : master
Original file line number Diff line number Diff line change 45
45
TOXENV : ${{ matrix.tox-env }}
46
46
47
47
steps :
48
- - uses : actions/checkout@v2
48
+ - uses : actions/checkout@v4
49
49
- name : Setup Python ${{ matrix.python-version }}
50
- uses : actions/setup-python@v3
50
+ uses : actions/setup-python@v4
51
51
with :
52
52
python-version : ${{ matrix.python-version }}
53
53
- name : Install dependencies
58
58
run : python -m tox
59
59
- name : Upload Results
60
60
if : success()
61
- uses : codecov/codecov-action@v1
61
+ uses : codecov/codecov-action@v3
62
62
with :
63
63
file : ./coverage.xml
64
64
flags : unittests
77
77
TOXENV : ${{ matrix.tox-env }}
78
78
79
79
steps :
80
- - uses : actions/checkout@v2
80
+ - uses : actions/checkout@v4
81
81
- name : Setup Python
82
- uses : actions/setup-python@v2
82
+ uses : actions/setup-python@v4
83
83
with :
84
84
python-version : 3.11
85
85
- name : Install dependencies
Original file line number Diff line number Diff line change 12
12
check_version :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
- name : Setup Python
17
- uses : actions/setup-python@v2
17
+ uses : actions/setup-python@v4
18
18
with :
19
19
python-version : ' 3.11'
20
20
- name : Install dependencies
You can’t perform that action at this time.
0 commit comments