mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 20:32:19 +01:00
Compare commits
353 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e89aa66d0 | ||
|
|
8286aeefb8 | ||
|
|
88b26abfee | ||
|
|
cd215c4ce4 | ||
|
|
d13e210741 | ||
|
|
18a809e6c9 | ||
|
|
4245d14847 | ||
|
|
33a289a0d5 | ||
|
|
01cbeb899c | ||
|
|
267b3f1c66 | ||
|
|
3317f5e6cd | ||
|
|
5e135f617c | ||
|
|
3c588690f5 | ||
|
|
fe1c07bf27 | ||
|
|
873c0ab6ca | ||
|
|
e091c924f2 | ||
|
|
22a55848e8 | ||
|
|
802b595093 | ||
|
|
3120b3dd8c | ||
|
|
f0e838658f | ||
|
|
4b04428f53 | ||
|
|
79ed21ee9b | ||
|
|
4c60b233f2 | ||
|
|
bcbb69dfa4 | ||
|
|
4e17872cd1 | ||
|
|
b59871c37d | ||
|
|
e7fbc0b5da | ||
|
|
6b131935e4 | ||
|
|
5825c9307b | ||
|
|
5b3d1ee007 | ||
|
|
5a94243d05 | ||
|
|
b0f29e7ede | ||
|
|
b94c20b65d | ||
|
|
71168fab79 | ||
|
|
caf4dd6aae | ||
|
|
aba4ae3195 | ||
|
|
e0b4d029a2 | ||
|
|
c230bfdf99 | ||
|
|
6ec44a7303 | ||
|
|
444111b78c | ||
|
|
997c3c888a | ||
|
|
a6baa39988 | ||
|
|
6c93ce5fef | ||
|
|
77557cc391 | ||
|
|
bfac4748b6 | ||
|
|
baf489601c | ||
|
|
e45313c6a1 | ||
|
|
77531419b5 | ||
|
|
32ec0a285c | ||
|
|
d1ebf3fd0d | ||
|
|
ca4532b6bc | ||
|
|
5a7d3a7506 | ||
|
|
1f22e6c5e6 | ||
|
|
61b002f4ff | ||
|
|
2acd7a45c8 | ||
|
|
67dcb244d0 | ||
|
|
be3e1ccca2 | ||
|
|
beefbb44e1 | ||
|
|
3462f4d33f | ||
|
|
f8104a9bdb | ||
|
|
316ab5f380 | ||
|
|
64f9c36d5e | ||
|
|
b7fbea4c34 | ||
|
|
76e5f6f1f3 | ||
|
|
89d2e2c7e8 | ||
|
|
71327d4646 | ||
|
|
1eeaa0edab | ||
|
|
da2d5466d3 | ||
|
|
71f80aff9f | ||
|
|
3f02ff7a9e | ||
|
|
87ff7f6586 | ||
|
|
18a17a77a8 | ||
|
|
483f8d1e34 | ||
|
|
c83f10804e | ||
|
|
cf40bc8ca5 | ||
|
|
2fa902b35f | ||
|
|
16d8ce1cd5 | ||
|
|
1835230a2b | ||
|
|
f1c7ecda61 | ||
|
|
96f56dee02 | ||
|
|
863939f1a7 | ||
|
|
00ad5734ff | ||
|
|
eb88818df9 | ||
|
|
45f920d29b | ||
|
|
d59d21e633 | ||
|
|
e4507caf0b | ||
|
|
f42b9853d3 | ||
|
|
638096b27f | ||
|
|
53a8986af5 | ||
|
|
838268abaf | ||
|
|
9f4ef016d6 | ||
|
|
8bff475612 | ||
|
|
be3787356a | ||
|
|
919a5f9b0b | ||
|
|
20fdc5a174 | ||
|
|
6fca5e4b8e | ||
|
|
0ea1e4ebec | ||
|
|
54af4c1320 | ||
|
|
998d85162e | ||
|
|
c0e9f57fdb | ||
|
|
7160613349 | ||
|
|
41aa07a09a | ||
|
|
697e1b0bf9 | ||
|
|
0b3975d690 | ||
|
|
38bf1d20d0 | ||
|
|
4ec522dca3 | ||
|
|
914abda3d8 | ||
|
|
926e28de4a | ||
|
|
09cf94008e | ||
|
|
54205620ee | ||
|
|
b18493fdf7 | ||
|
|
2f831edb58 | ||
|
|
b99235e60e | ||
|
|
75e0d6c01d | ||
|
|
b5e2760b23 | ||
|
|
dcf08e2fd2 | ||
|
|
658d24bb3e | ||
|
|
e92a791bf3 | ||
|
|
533dde8575 | ||
|
|
aa5de43b2b | ||
|
|
f0d93788f5 | ||
|
|
07ef174ec4 | ||
|
|
71fe6dbc7f | ||
|
|
592603c7c2 | ||
|
|
0f35b33b73 | ||
|
|
b458469ce7 | ||
|
|
cb1a02bb35 | ||
|
|
ad41861beb | ||
|
|
cb3ccf6f42 | ||
|
|
2357c76e2a | ||
|
|
dd334074ce | ||
|
|
e3045c5fb5 | ||
|
|
8f166cf07e | ||
|
|
b920e249f6 | ||
|
|
ad8ddd743a | ||
|
|
16b12f7dfe | ||
|
|
89fc843efb | ||
|
|
d3ebe5d657 | ||
|
|
3c2f87a0bf | ||
|
|
b1d5e3fb14 | ||
|
|
98135d2cd0 | ||
|
|
271cee08e7 | ||
|
|
7e64f450a7 | ||
|
|
2cdb0da4de | ||
|
|
7d80e1641c | ||
|
|
dd37fe20fa | ||
|
|
e6a01917e0 | ||
|
|
9ba52187b5 | ||
|
|
4c11e4e48a | ||
|
|
66a332b429 | ||
|
|
012b11dba4 | ||
|
|
b555054157 | ||
|
|
c264525a0a | ||
|
|
9216be3bc0 | ||
|
|
8c661f7d9b | ||
|
|
07082d9e3b | ||
|
|
d7c46d09c9 | ||
|
|
ef0b1e0a85 | ||
|
|
312bc2c8e4 | ||
|
|
e4c9fb3020 | ||
|
|
73356f0ae5 | ||
|
|
0c93074aab | ||
|
|
dc79cf98c4 | ||
|
|
4271d65cba | ||
|
|
fc3f6e7cc9 | ||
|
|
b99a08a3b8 | ||
|
|
b92f084f45 | ||
|
|
11b6ba478c | ||
|
|
0b128ac232 | ||
|
|
55117bdfe7 | ||
|
|
b0c61036db | ||
|
|
9983819c7b | ||
|
|
466efd6e32 | ||
|
|
815ceae6cf | ||
|
|
02e6a28e7e | ||
|
|
aaaac3ae99 | ||
|
|
97168f4ffd | ||
|
|
b9569c27b6 | ||
|
|
ed2a699866 | ||
|
|
271b8c5d4e | ||
|
|
2aa39a0fb5 | ||
|
|
b9fb59f829 | ||
|
|
a3c3e71549 | ||
|
|
32e3df2806 | ||
|
|
a098653b2f | ||
|
|
5dbfe6b02f | ||
|
|
3e0138dbef | ||
|
|
a0dcca096a | ||
|
|
4510d5bae2 | ||
|
|
88d9993a14 | ||
|
|
163bda68c5 | ||
|
|
3d3730eab2 | ||
|
|
f9bbc5a9ad | ||
|
|
fe712b2ec6 | ||
|
|
7b0270bcd5 | ||
|
|
7747eb710e | ||
|
|
73611a6693 | ||
|
|
08ce241826 | ||
|
|
5cb844d4a8 | ||
|
|
808c2c15d1 | ||
|
|
9d657ea2ca | ||
|
|
85093b6a03 | ||
|
|
e860645a60 | ||
|
|
dac5ba9b16 | ||
|
|
4d4441466c | ||
|
|
260f1b862c | ||
|
|
4a710eea83 | ||
|
|
e2d599a030 | ||
|
|
124585fe17 | ||
|
|
05899bf3aa | ||
|
|
506aeddc3a | ||
|
|
009b47c399 | ||
|
|
0815b8fb73 | ||
|
|
949a480ff9 | ||
|
|
cb7cd1e26d | ||
|
|
3fce776750 | ||
|
|
4ea3b500e2 | ||
|
|
fe90d2f50f | ||
|
|
62ebf73d5f | ||
|
|
a75d5eb670 | ||
|
|
4c53abd8fe | ||
|
|
336da8a2f2 | ||
|
|
ea8d9dba18 | ||
|
|
ea60fc1ec2 | ||
|
|
acacbff003 | ||
|
|
c66d90a3b2 | ||
|
|
02db58a779 | ||
|
|
abb5843560 | ||
|
|
7eea08803f | ||
|
|
4dadc2dfbe | ||
|
|
3498de4687 | ||
|
|
c55729fbd1 | ||
|
|
45d50caa20 | ||
|
|
b7f315e91b | ||
|
|
c8a33c5660 | ||
|
|
c80eb16e09 | ||
|
|
add0e7c051 | ||
|
|
43a340f6cd | ||
|
|
a6a0f2f7a8 | ||
|
|
f5dac6efe3 | ||
|
|
9229d6ea61 | ||
|
|
d242ef0982 | ||
|
|
86cd995322 | ||
|
|
8a97893cfe | ||
|
|
f73a43a95b | ||
|
|
0b1622da20 | ||
|
|
5a904d42d5 | ||
|
|
c581b131a6 | ||
|
|
c34a46e748 | ||
|
|
b5b805beb9 | ||
|
|
72aae0311c | ||
|
|
050785a91c | ||
|
|
6486bc9a78 | ||
|
|
ce3c331374 | ||
|
|
e04f62b1a5 | ||
|
|
050ab4fa3c | ||
|
|
57eddfaa48 | ||
|
|
cb23a85c9f | ||
|
|
b30237c8ce | ||
|
|
4cd0877e87 | ||
|
|
b71ad2d014 | ||
|
|
e470a760d3 | ||
|
|
1649bea4d0 | ||
|
|
a2600d572b | ||
|
|
1bafab6d5a | ||
|
|
601b110315 | ||
|
|
c1f369064c | ||
|
|
8cd28fc857 | ||
|
|
702a3e4c9a | ||
|
|
d7620db17f | ||
|
|
64135da123 | ||
|
|
35eb187a3c | ||
|
|
c3a324ff3c | ||
|
|
9b11300647 | ||
|
|
6bed4121ee | ||
|
|
b9b88c049f | ||
|
|
da65b73f4d | ||
|
|
33d3f73fc7 | ||
|
|
a3f7ea4140 | ||
|
|
61937d118f | ||
|
|
88076695a9 | ||
|
|
2935a38e76 | ||
|
|
c69c549ff8 | ||
|
|
9cdeeef2f3 | ||
|
|
7c9a227529 | ||
|
|
514a588dc1 | ||
|
|
ea7a8f0343 | ||
|
|
de4f7b1136 | ||
|
|
0d2e11837b | ||
|
|
703c21fa41 | ||
|
|
844e33d410 | ||
|
|
3d71d2403d | ||
|
|
c6512d44a3 | ||
|
|
d17d5099d6 | ||
|
|
61f1757c8c | ||
|
|
f9fbf81b0c | ||
|
|
cc6e8832e8 | ||
|
|
0a1c87ea74 | ||
|
|
4ce8f62edb | ||
|
|
f48589d80e | ||
|
|
9026a94533 | ||
|
|
c430dcefd1 | ||
|
|
bc46e4063a | ||
|
|
6eb91d4870 | ||
|
|
df77f4d6bd | ||
|
|
bbb82a999a | ||
|
|
1972405991 | ||
|
|
ef069a5b5b | ||
|
|
cb4de30fad | ||
|
|
a8e5979167 | ||
|
|
5fcc41dbee | ||
|
|
bb9d9fa49a | ||
|
|
88ecc3f3da | ||
|
|
41b2600c91 | ||
|
|
4eed9e4759 | ||
|
|
81b5611b7c | ||
|
|
231e402918 | ||
|
|
4de9b09ee4 | ||
|
|
45ee73c48d | ||
|
|
75c9bc6dc7 | ||
|
|
f3bcf96547 | ||
|
|
2331ecd733 | ||
|
|
266cd0f351 | ||
|
|
4a12696aca | ||
|
|
07c50afccc | ||
|
|
9d826a479b | ||
|
|
d56d87baca | ||
|
|
6b6e84ed73 | ||
|
|
8095fcb0f4 | ||
|
|
f802d7f38d | ||
|
|
8850dd5d86 | ||
|
|
da0b7ac273 | ||
|
|
b9e10c3e30 | ||
|
|
38f8dc8ba8 | ||
|
|
0dd325e0bc | ||
|
|
e35c200d21 | ||
|
|
1710cea6fb | ||
|
|
3907220f13 | ||
|
|
747598e8dc | ||
|
|
022950c85b | ||
|
|
e375f4fff3 | ||
|
|
ac7a2d661b | ||
|
|
40cba97ea7 | ||
|
|
e8c9424357 | ||
|
|
aa532f2f96 | ||
|
|
24f14e4ba9 | ||
|
|
2fb0c15ce0 | ||
|
|
f18cf68aea | ||
|
|
aed27b9707 | ||
|
|
4f359ec551 | ||
|
|
a9aa73f7b4 | ||
|
|
aeba6547bb | ||
|
|
8eef9fcb44 |
@@ -1,9 +0,0 @@
|
|||||||
version: 1
|
|
||||||
update_configs:
|
|
||||||
- package_manager: "javascript"
|
|
||||||
directory: "/"
|
|
||||||
update_schedule: "daily"
|
|
||||||
default_labels:
|
|
||||||
- "dependencies"
|
|
||||||
commit_message:
|
|
||||||
prefix: "deps"
|
|
||||||
36
.github/ISSUE_TEMPLATE/1_user_support.md
vendored
Normal file
36
.github/ISSUE_TEMPLATE/1_user_support.md
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
name: User Support
|
||||||
|
about: Questions for this Action
|
||||||
|
title: 'sample_title'
|
||||||
|
labels: support
|
||||||
|
assignees: peaceiris
|
||||||
|
---
|
||||||
|
|
||||||
|
**Note that an issue which does not follow the template will be closed silently.**
|
||||||
|
|
||||||
|
## Check list before opening this issue
|
||||||
|
|
||||||
|
- [ ] I read the latest README of this repository.
|
||||||
|
|
||||||
|
For users of the GitHub Pages Action:
|
||||||
|
|
||||||
|
- [ ] I checked [Available Options](https://github.com/peaceiris/actions-gh-pages#options)
|
||||||
|
- [ ] I followed [Tips and FAQs](https://github.com/peaceiris/actions-gh-pages#tips-and-faq)
|
||||||
|
- [ ] I tried [Workflow Examples](https://github.com/peaceiris/actions-gh-pages#examples)
|
||||||
|
|
||||||
|
## Describe your question
|
||||||
|
|
||||||
|
A clear and concise description of what the question is.
|
||||||
|
|
||||||
|
## Link to your contents
|
||||||
|
|
||||||
|
- Link to your public repository here
|
||||||
|
- Link to your workflow here
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
If applicable, add screenshots to help explain your question.
|
||||||
|
|
||||||
|
## Additional context
|
||||||
|
|
||||||
|
Add any other context about the problem here.
|
||||||
@@ -1,31 +1,39 @@
|
|||||||
---
|
---
|
||||||
name: Bug report
|
name: Bug Report
|
||||||
about: Create a report to help us improve
|
about: First, use the User Support Issue Template
|
||||||
title: 'Bug: This is a sample issue title'
|
title: 'sample_title'
|
||||||
labels: bug
|
labels: bug
|
||||||
assignees: peaceiris
|
assignees: peaceiris
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Describe the bug**
|
**Note that an issue which does not follow the template will be closed silently.**
|
||||||
|
|
||||||
|
## Describe the bug
|
||||||
|
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
**To Reproduce**
|
## To Reproduce
|
||||||
|
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '....'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '....'
|
||||||
4. See error
|
4. See error
|
||||||
|
|
||||||
**Expected behavior**
|
## Expected behavior
|
||||||
|
|
||||||
A clear and concise description of what you expected to happen.
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
**Screenshots**
|
## Screenshots
|
||||||
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
**Your YAML file**
|
## Your YAML file
|
||||||
|
|
||||||
- A link to your repository
|
- A link to your repository
|
||||||
- A link to your YAML file
|
- A link to your YAML file
|
||||||
|
|
||||||
**Additional context**
|
## Additional context
|
||||||
|
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
@@ -1,20 +1,26 @@
|
|||||||
---
|
---
|
||||||
name: Proposal
|
name: Proposal
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: 'proposal: This is a sample title'
|
title: 'sample_title'
|
||||||
labels: proposal
|
labels: proposal
|
||||||
assignees: peaceiris
|
assignees: peaceiris
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
**Note that an issue which does not follow the template will be closed silently.**
|
||||||
|
|
||||||
|
## Is your feature request related to a problem? Please describe.
|
||||||
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
## Describe the solution you'd like
|
||||||
|
|
||||||
A clear and concise description of what you want to happen.
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
## Describe alternatives you've considered
|
||||||
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
**Additional context**
|
## Additional context
|
||||||
|
|
||||||
Add any other context or screenshots about the feature request here.
|
Add any other context or screenshots about the feature request here.
|
||||||
4
.github/ISSUE_TEMPLATE/config.yml
vendored
4
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: GitHub Actions Community Forum
|
- name: GitHub Actions - GitHub Support Community Forum
|
||||||
url: https://github.community/t5/GitHub-Actions/bd-p/actions
|
url: https://github.community/c/github-actions
|
||||||
about: Please ask questions about GitHub Actions here.
|
about: Please ask questions about GitHub Actions here.
|
||||||
- name: Hugo Community Forum
|
- name: Hugo Community Forum
|
||||||
url: https://discourse.gohugo.io/
|
url: https://discourse.gohugo.io/
|
||||||
|
|||||||
28
.github/dependabot.yml
vendored
Normal file
28
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: npm
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: '11:00'
|
||||||
|
timezone: Japan
|
||||||
|
labels:
|
||||||
|
- "dependencies"
|
||||||
|
ignore:
|
||||||
|
- dependency-name: "@types/node"
|
||||||
|
versions:
|
||||||
|
- ">= 13.a, < 14"
|
||||||
|
- ">= 14.a, < 15"
|
||||||
|
commit-message:
|
||||||
|
prefix: deps
|
||||||
|
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
time: '11:00'
|
||||||
|
timezone: Japan
|
||||||
|
labels:
|
||||||
|
- "CI/CD"
|
||||||
|
commit-message:
|
||||||
|
prefix: ci
|
||||||
32
.github/label-commenter-config.yml
vendored
Normal file
32
.github/label-commenter-config.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
labels:
|
||||||
|
- name: invalid
|
||||||
|
labeled:
|
||||||
|
issue:
|
||||||
|
body: Please follow the issue templates.
|
||||||
|
action: close
|
||||||
|
- name: forum
|
||||||
|
labeled:
|
||||||
|
issue:
|
||||||
|
body: |
|
||||||
|
Please ask questions about GitHub Actions or Hugo at the following forum.
|
||||||
|
- [GitHub Actions Community Forum](https://github.community/c/github-actions)
|
||||||
|
- [Hugo Community Forum](https://discourse.gohugo.io/)
|
||||||
|
action: close
|
||||||
|
- name: wontfix
|
||||||
|
labeled:
|
||||||
|
issue:
|
||||||
|
body: This will not be worked on but we appreciate your contribution.
|
||||||
|
action: close
|
||||||
|
unlabeled:
|
||||||
|
issue:
|
||||||
|
body: This has become active again.
|
||||||
|
action: open
|
||||||
|
- name: duplicate
|
||||||
|
labeled:
|
||||||
|
issue:
|
||||||
|
body: This issue already exists.
|
||||||
|
action: close
|
||||||
|
- name: good first issue
|
||||||
|
labeled:
|
||||||
|
issue:
|
||||||
|
body: This issue is easy for contributing. Everyone can work on this.
|
||||||
29
.github/workflows/codeql-analysis.yml
vendored
Normal file
29
.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: "Code Scanning"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
CodeQL-Build:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
|
||||||
|
- run: git checkout HEAD^2
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v1
|
||||||
|
with:
|
||||||
|
languages: javascript
|
||||||
|
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v1
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v1
|
||||||
37
.github/workflows/dev-image.yml
vendored
Normal file
37
.github/workflows/dev-image.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
name: 'Dev Image CI'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/dev-image.yml'
|
||||||
|
- '.dockerignore'
|
||||||
|
- '.nvmrc'
|
||||||
|
- 'Dockerfile'
|
||||||
|
- 'Makefile'
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/dev-image.yml'
|
||||||
|
- '.dockerignore'
|
||||||
|
- '.nvmrc'
|
||||||
|
- 'Dockerfile'
|
||||||
|
- 'Makefile'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
skipci:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
|
||||||
|
|
||||||
|
dev-image-test:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: make build
|
||||||
|
- run: make cirun cmd="npm ci"
|
||||||
|
- run: make ciall
|
||||||
25
.github/workflows/label-commenter.yml
vendored
Normal file
25
.github/workflows/label-commenter.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Label Commenter
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
- unlabeled
|
||||||
|
# pull_request:
|
||||||
|
# types:
|
||||||
|
# - labeled
|
||||||
|
# - unlabeled
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
comment:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
|
||||||
|
- name: Label Commenter
|
||||||
|
uses: peaceiris/actions-label-commenter@v1.6.1
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# config_file: .github/label-commenter-config.yml
|
||||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -9,7 +9,6 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Dump GitHub context
|
- name: Dump GitHub context
|
||||||
@@ -19,8 +18,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install github/hub
|
- name: Install github/hub
|
||||||
run: |
|
run: |
|
||||||
export HUB_VERSION="2.14.1"
|
export HUB_VERSION="2.14.2"
|
||||||
curl -fsSL https://github.com/github/hub/raw/40e421edd2c63d57bb8daa4bb9bbdfa21e8becf9/script/get | bash -s "${HUB_VERSION}"
|
curl -fsSL https://github.com/github/hub/raw/8d91904208171b013f9a9d1175f4ab39068db047/script/get | bash -s "${HUB_VERSION}"
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
env:
|
env:
|
||||||
|
|||||||
17
.github/workflows/stale.yml
vendored
17
.github/workflows/stale.yml
vendored
@@ -1,17 +0,0 @@
|
|||||||
name: Stale
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "6 6 * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
stale:
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/stale@v1
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
||||||
stale-pr-message: 'This pull request is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
||||||
days-before-stale: 21
|
|
||||||
days-before-close: 7
|
|
||||||
5
.github/workflows/test-action.yml
vendored
5
.github/workflows/test-action.yml
vendored
@@ -1,9 +1,9 @@
|
|||||||
name: Daily Test
|
name: Daily Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# push:
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '13 13 * * *'
|
- cron: '13 13 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -11,7 +11,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
|
- 'ubuntu-20.04'
|
||||||
- 'ubuntu-18.04'
|
- 'ubuntu-18.04'
|
||||||
|
- 'ubuntu-16.04'
|
||||||
- 'macos-latest'
|
- 'macos-latest'
|
||||||
- 'windows-latest'
|
- 'windows-latest'
|
||||||
hugo-version:
|
hugo-version:
|
||||||
@@ -21,7 +23,6 @@ jobs:
|
|||||||
- true
|
- true
|
||||||
- false
|
- false
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
|
|||||||
54
.github/workflows/test.yml
vendored
54
.github/workflows/test.yml
vendored
@@ -3,33 +3,25 @@ name: 'Test'
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
- synchronize
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
skipci:
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
steps:
|
|
||||||
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
|
- 'ubuntu-20.04'
|
||||||
- 'ubuntu-18.04'
|
- 'ubuntu-18.04'
|
||||||
|
- 'ubuntu-16.04'
|
||||||
- 'macos-latest'
|
- 'macos-latest'
|
||||||
- 'windows-latest'
|
- 'windows-latest'
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Read .nvmrc
|
- name: Read .nvmrc
|
||||||
@@ -37,57 +29,33 @@ jobs:
|
|||||||
id: nvm
|
id: nvm
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2.1.2
|
||||||
with:
|
with:
|
||||||
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
||||||
|
|
||||||
# - name: Get npm cache directory
|
- run: npm i -g npm
|
||||||
# id: npm-cache
|
|
||||||
# run: |
|
|
||||||
# echo "::set-output name=dir::$(npm config get cache)"
|
|
||||||
#
|
|
||||||
# - name: Cache npm
|
|
||||||
# uses: actions/cache@v1
|
|
||||||
# with:
|
|
||||||
# path: ${{ steps.npm-cache.outputs.dir }}
|
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-node-
|
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
- name: Run prettier
|
- name: Run prettier
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||||
run: npm run format:check
|
run: npm run format:check
|
||||||
|
|
||||||
- name: Run eslint
|
- name: Run eslint
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: Run ncc
|
- name: Run ncc
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
- name: Upload test coverage as artifact
|
- name: Upload test coverage as artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage-${{ matrix.os }}
|
||||||
path: coverage
|
path: coverage
|
||||||
|
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1.0.13
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
# - name: Upload test coverage to Coveralls
|
|
||||||
# uses: coverallsapp/github-action@v1.0.1
|
|
||||||
# with:
|
|
||||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# parallel: true
|
|
||||||
|
|
||||||
# - name: Coveralls Finished
|
|
||||||
# uses: coverallsapp/github-action@v1.0.1
|
|
||||||
# with:
|
|
||||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# parallel-finished: true
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"printWidth": 80,
|
"printWidth": 100,
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"useTabs": false,
|
"useTabs": false,
|
||||||
"semi": true,
|
"semi": true,
|
||||||
@@ -8,4 +8,4 @@
|
|||||||
"bracketSpacing": false,
|
"bracketSpacing": false,
|
||||||
"arrowParens": "avoid",
|
"arrowParens": "avoid",
|
||||||
"parser": "typescript"
|
"parser": "typescript"
|
||||||
}
|
}
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"git.ignoreLimitWarning": true
|
"git.ignoreLimitWarning": true,
|
||||||
|
"deno.enable": false
|
||||||
}
|
}
|
||||||
457
CHANGELOG.md
457
CHANGELOG.md
@@ -2,6 +2,463 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
## [2.4.13](https://github.com/peaceiris/actions-hugo/compare/v2.4.12...v2.4.13) (2020-10-06)
|
||||||
|
|
||||||
|
|
||||||
|
### chore
|
||||||
|
|
||||||
|
* change default branch from master to main (#386) ([da2d546](https://github.com/peaceiris/actions-hugo/commit/da2d5466d39aab034669dc2701c6cf17e25082d0)), closes [#386](https://github.com/peaceiris/actions-hugo/issues/386)
|
||||||
|
* change printWidth from 80 to 100 (#365) ([8bff475](https://github.com/peaceiris/actions-hugo/commit/8bff475612e4668972f3cf13bf8ffe48a6da31a3)), closes [#365](https://github.com/peaceiris/actions-hugo/issues/365)
|
||||||
|
* disable deno on vscode (#388) ([71327d4](https://github.com/peaceiris/actions-hugo/commit/71327d464610fe5163689864e5b68d2fb4ceb776)), closes [#388](https://github.com/peaceiris/actions-hugo/issues/388)
|
||||||
|
* fix link to GitHub Actions Community Forum ([919a5f9](https://github.com/peaceiris/actions-hugo/commit/919a5f9b0bd1b53e8bcabd4f014f46d01ea3e5cb))
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* add codeql workflow ([2fa902b](https://github.com/peaceiris/actions-hugo/commit/2fa902b35f172f555ee4764fb8f35f350058907a))
|
||||||
|
* add workflow_dispatch ([1eeaa0e](https://github.com/peaceiris/actions-hugo/commit/1eeaa0edab53b2141fa624e108430359a2e88ddd))
|
||||||
|
* bump actions/setup-node from v2.0.0 to v2.1.0 (#371) ([d59d21e](https://github.com/peaceiris/actions-hugo/commit/d59d21e63364d8b9aa822370f3ebc8c2261d69db)), closes [#371](https://github.com/peaceiris/actions-hugo/issues/371)
|
||||||
|
* bump actions/setup-node from v2.1.0 to v2.1.1 (#392) ([316ab5f](https://github.com/peaceiris/actions-hugo/commit/316ab5f3800f1b485387c80cd13c9507cda1303b)), closes [#392](https://github.com/peaceiris/actions-hugo/issues/392)
|
||||||
|
* bump actions/setup-node from v2.1.1 to v2.1.2 (#449) ([d13e210](https://github.com/peaceiris/actions-hugo/commit/d13e210741153eccc070e1eeb9c1f2d3526c0e6c)), closes [#449](https://github.com/peaceiris/actions-hugo/issues/449)
|
||||||
|
* bump codecov/codecov-action from v1.0.10 to v1.0.11 (#389) ([76e5f6f](https://github.com/peaceiris/actions-hugo/commit/76e5f6f1f3c2f6a2b52209bf45ff6fb647a7dfd2)), closes [#389](https://github.com/peaceiris/actions-hugo/issues/389)
|
||||||
|
* bump codecov/codecov-action from v1.0.11 to v1.0.12 (#393) ([f8104a9](https://github.com/peaceiris/actions-hugo/commit/f8104a9bdbcb58df14a6806b56f7efdf52f923f6)), closes [#393](https://github.com/peaceiris/actions-hugo/issues/393)
|
||||||
|
* bump codecov/codecov-action from v1.0.12 to v1.0.13 (#414) ([c230bfd](https://github.com/peaceiris/actions-hugo/commit/c230bfdf9987fa980cf88815a8bdaf8263b524d1)), closes [#414](https://github.com/peaceiris/actions-hugo/issues/414)
|
||||||
|
* bump codecov/codecov-action from v1.0.7 to v1.0.10 (#373) ([00ad573](https://github.com/peaceiris/actions-hugo/commit/00ad5734ffe779107015e871a2119a3d0a39dabf)), closes [#373](https://github.com/peaceiris/actions-hugo/issues/373)
|
||||||
|
* bump peaceiris/actions-label-commenter from v1 to v1.3.7 (#364) ([be37873](https://github.com/peaceiris/actions-hugo/commit/be3787356a00883bf4555fe5bfc7d96399badaf1)), closes [#364](https://github.com/peaceiris/actions-hugo/issues/364)
|
||||||
|
* bump peaceiris/actions-label-commenter from v1.3.7 to v1.5.0 (#406) ([baf4896](https://github.com/peaceiris/actions-hugo/commit/baf489601c45dddea57fec27266aebb925e8f59e)), closes [#406](https://github.com/peaceiris/actions-hugo/issues/406)
|
||||||
|
* bump peaceiris/actions-label-commenter from v1.5.0 to v1.6.0 (#434) ([3120b3d](https://github.com/peaceiris/actions-hugo/commit/3120b3dd8cded1491ca95f260d3e9453e83a3569)), closes [#434](https://github.com/peaceiris/actions-hugo/issues/434)
|
||||||
|
* bump peaceiris/actions-label-commenter from v1.6.0 to v1.6.1 (#437) ([22a5584](https://github.com/peaceiris/actions-hugo/commit/22a55848e80df28d2847fdbb1689faae37a08a29)), closes [#437](https://github.com/peaceiris/actions-hugo/issues/437)
|
||||||
|
* remove open-pull-requests-limit ([53a8986](https://github.com/peaceiris/actions-hugo/commit/53a8986af5a407ed9b889581cd97b72795d44619))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @actions/core from 1.2.4 to 1.2.5 (#422) ([5825c93](https://github.com/peaceiris/actions-hugo/commit/5825c9307b65034c724a21f02fb1697c12738846)), closes [#422](https://github.com/peaceiris/actions-hugo/issues/422)
|
||||||
|
* bump @actions/core from 1.2.5 to 1.2.6 (#448) ([33a289a](https://github.com/peaceiris/actions-hugo/commit/33a289a0d5de244428f483056fcc356281b21bb5)), closes [#448](https://github.com/peaceiris/actions-hugo/issues/448)
|
||||||
|
* bump @actions/tool-cache from 1.5.5 to 1.6.0 (#383) ([3f02ff7](https://github.com/peaceiris/actions-hugo/commit/3f02ff7a9e8c09b32b229a513855dfea3469b586)), closes [#383](https://github.com/peaceiris/actions-hugo/issues/383)
|
||||||
|
* bump @types/jest from 26.0.0 to 26.0.3 (#369) ([f42b985](https://github.com/peaceiris/actions-hugo/commit/f42b9853d37d1c2b67960f92c4f1467f105d9050)), closes [#369](https://github.com/peaceiris/actions-hugo/issues/369)
|
||||||
|
* bump @types/jest from 26.0.10 to 26.0.12 (#425) ([6b13193](https://github.com/peaceiris/actions-hugo/commit/6b131935e45ad0d1ec561c2fc3bb43dba781978c)), closes [#425](https://github.com/peaceiris/actions-hugo/issues/425)
|
||||||
|
* bump @types/jest from 26.0.12 to 26.0.13 (#427) ([b59871c](https://github.com/peaceiris/actions-hugo/commit/b59871c37d97cbbb3ad6b14b5efb20134367a886)), closes [#427](https://github.com/peaceiris/actions-hugo/issues/427)
|
||||||
|
* bump @types/jest from 26.0.13 to 26.0.14 (#442) ([3317f5e](https://github.com/peaceiris/actions-hugo/commit/3317f5e6cdcbc51c69a4c9eb9fceb445a78f08ad)), closes [#442](https://github.com/peaceiris/actions-hugo/issues/442)
|
||||||
|
* bump @types/jest from 26.0.3 to 26.0.4 (#378) ([16d8ce1](https://github.com/peaceiris/actions-hugo/commit/16d8ce1cd5912320ea2cac7bae2040fcc49fdc71)), closes [#378](https://github.com/peaceiris/actions-hugo/issues/378)
|
||||||
|
* bump @types/jest from 26.0.4 to 26.0.5 (#390) ([b7fbea4](https://github.com/peaceiris/actions-hugo/commit/b7fbea4c342a48c1ab8f134904b6bf08e1a8778c)), closes [#390](https://github.com/peaceiris/actions-hugo/issues/390)
|
||||||
|
* bump @types/jest from 26.0.5 to 26.0.7 (#394) ([be3e1cc](https://github.com/peaceiris/actions-hugo/commit/be3e1ccca2b306b40d88010110f71697a24ab5ea)), closes [#394](https://github.com/peaceiris/actions-hugo/issues/394)
|
||||||
|
* bump @types/jest from 26.0.7 to 26.0.8 (#405) ([7753141](https://github.com/peaceiris/actions-hugo/commit/77531419b598596623841e82209ed5248c48dd57)), closes [#405](https://github.com/peaceiris/actions-hugo/issues/405)
|
||||||
|
* bump @types/jest from 26.0.8 to 26.0.9 (#407) ([77557cc](https://github.com/peaceiris/actions-hugo/commit/77557cc3914eee0b1f7032fb817b254d0f058349)), closes [#407](https://github.com/peaceiris/actions-hugo/issues/407)
|
||||||
|
* bump @types/jest from 26.0.9 to 26.0.10 (#412) ([6ec44a7](https://github.com/peaceiris/actions-hugo/commit/6ec44a730389338c62ba4c4ef5e1852434143313)), closes [#412](https://github.com/peaceiris/actions-hugo/issues/412)
|
||||||
|
* bump @types/node from 12.12.47 to 12.12.48 (#379) ([1835230](https://github.com/peaceiris/actions-hugo/commit/1835230a2b35e8911a4bb269dec0288e382a71b7)), closes [#379](https://github.com/peaceiris/actions-hugo/issues/379)
|
||||||
|
* bump @types/node from 12.12.48 to 12.12.50 (#381) ([cf40bc8](https://github.com/peaceiris/actions-hugo/commit/cf40bc8ca5e14cd0ec57951a98733f086bbcfa16)), closes [#381](https://github.com/peaceiris/actions-hugo/issues/381)
|
||||||
|
* bump @types/node from 12.12.50 to 12.12.51 (#391) ([64f9c36](https://github.com/peaceiris/actions-hugo/commit/64f9c36d5ec62f7959fe8b3043824439ace7cde4)), closes [#391](https://github.com/peaceiris/actions-hugo/issues/391)
|
||||||
|
* bump @types/node from 12.12.51 to 12.12.52 (#395) ([beefbb4](https://github.com/peaceiris/actions-hugo/commit/beefbb44e1de5739a9b1dd7bbc10d1606f9866f6)), closes [#395](https://github.com/peaceiris/actions-hugo/issues/395)
|
||||||
|
* bump @types/node from 12.12.52 to 12.12.53 (#396) ([67dcb24](https://github.com/peaceiris/actions-hugo/commit/67dcb244d0ca45c57445c2fb646552b1cf03c65c)), closes [#396](https://github.com/peaceiris/actions-hugo/issues/396)
|
||||||
|
* bump @types/node from 12.12.53 to 12.12.54 (#408) ([bfac474](https://github.com/peaceiris/actions-hugo/commit/bfac4748b6753a66efa47642234fc23d92c74334)), closes [#408](https://github.com/peaceiris/actions-hugo/issues/408)
|
||||||
|
* bump @types/node from 12.12.54 to 12.12.55 (#426) ([e7fbc0b](https://github.com/peaceiris/actions-hugo/commit/e7fbc0b5dad38548f6a1cab00814f07b63f21806)), closes [#426](https://github.com/peaceiris/actions-hugo/issues/426)
|
||||||
|
* bump @types/node from 12.12.55 to 12.12.56 (#432) ([79ed21e](https://github.com/peaceiris/actions-hugo/commit/79ed21ee9b1e2b96609fad1b17645284c8a339d3)), closes [#432](https://github.com/peaceiris/actions-hugo/issues/432)
|
||||||
|
* bump @types/node from 12.12.56 to 12.12.57 (#433) ([4b04428](https://github.com/peaceiris/actions-hugo/commit/4b04428f53d215bc618147869807115d6ed825df)), closes [#433](https://github.com/peaceiris/actions-hugo/issues/433)
|
||||||
|
* bump @types/node from 12.12.57 to 12.12.58 (#436) ([f0e8386](https://github.com/peaceiris/actions-hugo/commit/f0e838658fd4fea293ab1875dd0c02f7d89599f1)), closes [#436](https://github.com/peaceiris/actions-hugo/issues/436)
|
||||||
|
* bump @types/node from 12.12.58 to 12.12.59 (#441) ([873c0ab](https://github.com/peaceiris/actions-hugo/commit/873c0ab6caaa6d57841d9a749e0183f4ade7e035)), closes [#441](https://github.com/peaceiris/actions-hugo/issues/441)
|
||||||
|
* bump @types/node from 12.12.59 to 12.12.61 (#443) ([5e135f6](https://github.com/peaceiris/actions-hugo/commit/5e135f617c2558ff55cca069e94b283e0399834d)), closes [#443](https://github.com/peaceiris/actions-hugo/issues/443)
|
||||||
|
* bump @types/node from 12.12.61 to 12.12.62 (#445) ([267b3f1](https://github.com/peaceiris/actions-hugo/commit/267b3f1c66006dcdc3a7db3d4e3def0a08a1459c)), closes [#445](https://github.com/peaceiris/actions-hugo/issues/445)
|
||||||
|
* bump @types/node from 12.12.62 to 12.12.63 (#451) ([cd215c4](https://github.com/peaceiris/actions-hugo/commit/cd215c4ce492dcca194a5b75f694eeef53dd09c2)), closes [#451](https://github.com/peaceiris/actions-hugo/issues/451)
|
||||||
|
* bump @vercel/ncc from 0.23.0 to 0.24.0 (#424) ([5b3d1ee](https://github.com/peaceiris/actions-hugo/commit/5b3d1ee00716bbabf4b3209c6005152d4379a29f)), closes [#424](https://github.com/peaceiris/actions-hugo/issues/424)
|
||||||
|
* bump @vercel/ncc from 0.24.0 to 0.24.1 (#438) ([802b595](https://github.com/peaceiris/actions-hugo/commit/802b5950937d77eb06be7ba586ed59425b72ed8d)), closes [#438](https://github.com/peaceiris/actions-hugo/issues/438)
|
||||||
|
* bump eslint-plugin-jest from 23.13.2 to 23.16.0 (#366) ([9f4ef01](https://github.com/peaceiris/actions-hugo/commit/9f4ef016d64fc31a87ea56518d6cf1f92c8cb0a2)), closes [#366](https://github.com/peaceiris/actions-hugo/issues/366)
|
||||||
|
* bump eslint-plugin-jest from 23.16.0 to 23.17.1 (#368) ([638096b](https://github.com/peaceiris/actions-hugo/commit/638096b27ff13e63f4f90e4d5bf05e814edcebcc)), closes [#368](https://github.com/peaceiris/actions-hugo/issues/368)
|
||||||
|
* bump eslint-plugin-jest from 23.17.1 to 23.18.0 (#377) ([f1c7ecd](https://github.com/peaceiris/actions-hugo/commit/f1c7ecda6150ba2c6dbbce39119d6f5b0ad723bf)), closes [#377](https://github.com/peaceiris/actions-hugo/issues/377)
|
||||||
|
* bump eslint-plugin-jest from 23.18.0 to 23.18.2 (#397) ([2acd7a4](https://github.com/peaceiris/actions-hugo/commit/2acd7a45c87d54f0d53e7929649160f728cc4f74)), closes [#397](https://github.com/peaceiris/actions-hugo/issues/397)
|
||||||
|
* bump eslint-plugin-jest from 23.18.2 to 23.19.0 (#400) ([5a7d3a7](https://github.com/peaceiris/actions-hugo/commit/5a7d3a75068f8dddac3aaa407896f38a7109e347)), closes [#400](https://github.com/peaceiris/actions-hugo/issues/400)
|
||||||
|
* bump eslint-plugin-jest from 23.19.0 to 23.20.0 (#401) ([32ec0a2](https://github.com/peaceiris/actions-hugo/commit/32ec0a285c6a0dd4f2df66f9851f319f1fbd8abe)), closes [#401](https://github.com/peaceiris/actions-hugo/issues/401)
|
||||||
|
* bump git from 2.27.0 to 2.28.0 (#398) ([61b002f](https://github.com/peaceiris/actions-hugo/commit/61b002f4ffb3492723a32a2d9539df503c9776c1)), closes [#398](https://github.com/peaceiris/actions-hugo/issues/398)
|
||||||
|
* bump husky from 4.2.5 to 4.3.0 (#431) ([4c60b23](https://github.com/peaceiris/actions-hugo/commit/4c60b233f21cff00faffa17a99bd07c924e19efd)), closes [#431](https://github.com/peaceiris/actions-hugo/issues/431)
|
||||||
|
* bump jest-circus from 26.0.1 to 26.1.0 (#367) ([838268a](https://github.com/peaceiris/actions-hugo/commit/838268abaf30b5c3b2e0cd5ce852fd870498f45f)), closes [#367](https://github.com/peaceiris/actions-hugo/issues/367)
|
||||||
|
* bump jest-circus from 26.1.0 to 26.2.1 (#402) ([d1ebf3f](https://github.com/peaceiris/actions-hugo/commit/d1ebf3fd0d7cf76c277b7c1d8c7839858002a9cc)), closes [#402](https://github.com/peaceiris/actions-hugo/issues/402)
|
||||||
|
* bump jest-circus from 26.2.1 to 26.2.2 (#404) ([e45313c](https://github.com/peaceiris/actions-hugo/commit/e45313c6a1dc39551c2fdbb4bee2f4b8ccbe95a1)), closes [#404](https://github.com/peaceiris/actions-hugo/issues/404)
|
||||||
|
* bump jest-circus from 26.2.2 to 26.3.0 (#409) ([6c93ce5](https://github.com/peaceiris/actions-hugo/commit/6c93ce5fefba5bc01d294f4d82d61f593fbf789f)), closes [#409](https://github.com/peaceiris/actions-hugo/issues/409)
|
||||||
|
* bump jest-circus from 26.3.0 to 26.4.0 (#411) ([997c3c8](https://github.com/peaceiris/actions-hugo/commit/997c3c888aa18613298ce0e513eea735f20f79ed)), closes [#411](https://github.com/peaceiris/actions-hugo/issues/411)
|
||||||
|
* bump jest-circus from 26.4.0 to 26.4.1 (#415) ([e0b4d02](https://github.com/peaceiris/actions-hugo/commit/e0b4d029a23577852cd59f4b1d23c1d1d699e266)), closes [#415](https://github.com/peaceiris/actions-hugo/issues/415)
|
||||||
|
* bump jest-circus from 26.4.1 to 26.4.2 (#417) ([caf4dd6](https://github.com/peaceiris/actions-hugo/commit/caf4dd6aaebf0047f62f6a9957fc95db56c0fa03)), closes [#417](https://github.com/peaceiris/actions-hugo/issues/417)
|
||||||
|
* bump jest-circus from 26.4.2 to 26.5.1 (#452) ([88b26ab](https://github.com/peaceiris/actions-hugo/commit/88b26abfee0c22c81cafe781cc7e3693114f9395)), closes [#452](https://github.com/peaceiris/actions-hugo/issues/452)
|
||||||
|
* bump lint-staged from 10.2.11 to 10.2.13 (#421) ([b0f29e7](https://github.com/peaceiris/actions-hugo/commit/b0f29e7edec0ad7fe12d4b9434826e4a96477569)), closes [#421](https://github.com/peaceiris/actions-hugo/issues/421)
|
||||||
|
* bump lint-staged from 10.2.13 to 10.3.0 (#428) ([4e17872](https://github.com/peaceiris/actions-hugo/commit/4e17872cd1999a77ff3faef0a282c3ded0b28b3c)), closes [#428](https://github.com/peaceiris/actions-hugo/issues/428)
|
||||||
|
* bump lint-staged from 10.3.0 to 10.4.0 (#444) ([3c58869](https://github.com/peaceiris/actions-hugo/commit/3c588690f52351f1370705f9a5f1c63aed991de3)), closes [#444](https://github.com/peaceiris/actions-hugo/issues/444)
|
||||||
|
* bump lodash from 4.17.15 to 4.17.19 (#385) ([71f80af](https://github.com/peaceiris/actions-hugo/commit/71f80aff9fddceefe3b6992d8c6956af13d5727e)), closes [#385](https://github.com/peaceiris/actions-hugo/issues/385)
|
||||||
|
* bump nock from 12.0.3 to 13.0.0 (#370) ([e4507ca](https://github.com/peaceiris/actions-hugo/commit/e4507caf0b86e8bac1307a239121c70bd62939bd)), closes [#370](https://github.com/peaceiris/actions-hugo/issues/370)
|
||||||
|
* bump nock from 13.0.0 to 13.0.1 (#372) ([45f920d](https://github.com/peaceiris/actions-hugo/commit/45f920d29b694bdae5abae2ca5e8e4a0c7ba485f)), closes [#372](https://github.com/peaceiris/actions-hugo/issues/372)
|
||||||
|
* bump nock from 13.0.1 to 13.0.2 (#375) ([eb88818](https://github.com/peaceiris/actions-hugo/commit/eb88818df93189cd54c302fdc18a2c6e876ab08e)), closes [#375](https://github.com/peaceiris/actions-hugo/issues/375)
|
||||||
|
* bump nock from 13.0.2 to 13.0.3 (#399) ([1f22e6c](https://github.com/peaceiris/actions-hugo/commit/1f22e6c5e634fdfb21daa12d295feac44d428630)), closes [#399](https://github.com/peaceiris/actions-hugo/issues/399)
|
||||||
|
* bump nock from 13.0.3 to 13.0.4 (#410) ([a6baa39](https://github.com/peaceiris/actions-hugo/commit/a6baa39988b85528fd574be8e232a06f72c397b5)), closes [#410](https://github.com/peaceiris/actions-hugo/issues/410)
|
||||||
|
* bump node from 12.18.1 to 12.18.2 (#376) ([96f56de](https://github.com/peaceiris/actions-hugo/commit/96f56dee02dd507288dcd0d32b1aabceda20a532)), closes [#376](https://github.com/peaceiris/actions-hugo/issues/376)
|
||||||
|
* bump node from 12.18.2 to 12.18.3 ([ca4532b](https://github.com/peaceiris/actions-hugo/commit/ca4532b6bc8a7a24dd2f638a848293cfef749689))
|
||||||
|
* bump node from 12.18.3 to 12.18.4 (#446) ([01cbeb8](https://github.com/peaceiris/actions-hugo/commit/01cbeb899ce86671ad0d046f1c1dbc9d716bf993)), closes [#446](https://github.com/peaceiris/actions-hugo/issues/446)
|
||||||
|
* bump node-fetch from 2.6.0 to 2.6.1 (#430) ([bcbb69d](https://github.com/peaceiris/actions-hugo/commit/bcbb69dfa4370721c165c579cf4b3482ff90516d)), closes [#430](https://github.com/peaceiris/actions-hugo/issues/430)
|
||||||
|
* bump prettier from 2.0.5 to 2.1.0 (#420) ([b94c20b](https://github.com/peaceiris/actions-hugo/commit/b94c20b65d1926fb5cb0534acfa17b7df493dd01)), closes [#420](https://github.com/peaceiris/actions-hugo/issues/420)
|
||||||
|
* bump prettier from 2.1.0 to 2.1.1 (#423) ([5a94243](https://github.com/peaceiris/actions-hugo/commit/5a94243d0517bf420266d6ffb22242a01b78bf57)), closes [#423](https://github.com/peaceiris/actions-hugo/issues/423)
|
||||||
|
* bump prettier from 2.1.1 to 2.1.2 (#440) ([fe1c07b](https://github.com/peaceiris/actions-hugo/commit/fe1c07bf2734c9b8a15afb63935b1017386a1a4d)), closes [#440](https://github.com/peaceiris/actions-hugo/issues/440)
|
||||||
|
* bump standard-version from 8.0.0 to 8.0.1 (#380) ([c83f108](https://github.com/peaceiris/actions-hugo/commit/c83f10804ea39b937ad407c2d32fdbbf4fd4c33a)), closes [#380](https://github.com/peaceiris/actions-hugo/issues/380)
|
||||||
|
* bump standard-version from 8.0.1 to 8.0.2 (#382) ([483f8d1](https://github.com/peaceiris/actions-hugo/commit/483f8d1e3415ac3bf8da95136807f5f1649a9b14)), closes [#382](https://github.com/peaceiris/actions-hugo/issues/382)
|
||||||
|
* bump standard-version from 8.0.2 to 9.0.0 (#413) ([444111b](https://github.com/peaceiris/actions-hugo/commit/444111b78ca0f838547e0d52086bd7ec6b4b99ad)), closes [#413](https://github.com/peaceiris/actions-hugo/issues/413)
|
||||||
|
* bump typescript from 3.9.5 to 3.9.6 (#374) ([863939f](https://github.com/peaceiris/actions-hugo/commit/863939f1a75eefbae6e227e72b90de2a2e96852c)), closes [#374](https://github.com/peaceiris/actions-hugo/issues/374)
|
||||||
|
* bump typescript from 3.9.6 to 3.9.7 (#384) ([87ff7f6](https://github.com/peaceiris/actions-hugo/commit/87ff7f6586ac91744342582f9c3030f0c4b72248)), closes [#384](https://github.com/peaceiris/actions-hugo/issues/384)
|
||||||
|
* change @zeit/ncc to @vercel/ncc (#416) ([aba4ae3](https://github.com/peaceiris/actions-hugo/commit/aba4ae31955192d3944543150f99cf2e9365a1aa)), closes [#416](https://github.com/peaceiris/actions-hugo/issues/416)
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add Caching Hugo Modules ([18a809e](https://github.com/peaceiris/actions-hugo/commit/18a809e6c96de4cb534ad52f31dfe28ef32bd7d5))
|
||||||
|
* Add Code Scanning workflow badge ([3462f4d](https://github.com/peaceiris/actions-hugo/commit/3462f4d33fccdc8d712508ddddcebaa8ef5384df))
|
||||||
|
* add full docker image ([4245d14](https://github.com/peaceiris/actions-hugo/commit/4245d148471b602b24f602d8634fb289fe74ca90))
|
||||||
|
* add note about branch to deploy (#419) ([71168fa](https://github.com/peaceiris/actions-hugo/commit/71168fab79f89371c87c6175ddd208ffada9cf0e)), closes [#419](https://github.com/peaceiris/actions-hugo/issues/419)
|
||||||
|
* bump hugo from 0.71.1 to 0.74.1 ([18a17a7](https://github.com/peaceiris/actions-hugo/commit/18a17a77a865be445d1ee0fbe251655fa53f8509))
|
||||||
|
* bump hugo from 0.74.1 to 0.74.2 ([89d2e2c](https://github.com/peaceiris/actions-hugo/commit/89d2e2c7e8c62e5c50d0deadcd5f163b80dae639))
|
||||||
|
* bump Hugo from 0.74.2 to 0.75.1 (#439) ([e091c92](https://github.com/peaceiris/actions-hugo/commit/e091c924f25bf7adb8a8662ace3b28429b1ae5c8)), closes [#439](https://github.com/peaceiris/actions-hugo/issues/439)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.12](https://github.com/peaceiris/actions-hugo/compare/v2.4.11...v2.4.12) (2020-06-21)
|
||||||
|
|
||||||
|
|
||||||
|
### chore
|
||||||
|
|
||||||
|
* Add CODEOWNERS ([75e0d6c](https://github.com/peaceiris/actions-hugo/commit/75e0d6c01d147a40a4ca4d546a35f0aa89977cd8))
|
||||||
|
* Enhance style ([07082d9](https://github.com/peaceiris/actions-hugo/commit/07082d9e3b019317c88ab12ee38807e476f9ae5c))
|
||||||
|
* Please follow the issue templates ([16b12f7](https://github.com/peaceiris/actions-hugo/commit/16b12f7dfe70a4b9d8a867616374a2b70b6cbd7d))
|
||||||
|
* Ported issue template ([2aa39a0](https://github.com/peaceiris/actions-hugo/commit/2aa39a0fb5fd48fb28b7fd4c1e41980674d291f4))
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* Add hook for doctoc ([2357c76](https://github.com/peaceiris/actions-hugo/commit/2357c76e2abc2649fcab48eb899a8b2a617d371a))
|
||||||
|
* add is_skip [skip ci] ([c0e9f57](https://github.com/peaceiris/actions-hugo/commit/c0e9f57fdbd5049eb5e8d479c10b7d85bccaf21f))
|
||||||
|
* Add Label Commenter Action ([271b8c5](https://github.com/peaceiris/actions-hugo/commit/271b8c5d4e39f7019428366d9194fb75beb26a23))
|
||||||
|
* add package-ecosystem github-actions ([38bf1d2](https://github.com/peaceiris/actions-hugo/commit/38bf1d20d08732c5b05fafc7093258d87ae8733a))
|
||||||
|
* Add ubuntu-16.04 ([55117bd](https://github.com/peaceiris/actions-hugo/commit/55117bdfe7031543062c1a69e3f4ccf28bec9448))
|
||||||
|
* Add ubuntu-20.04 (#355) ([926e28d](https://github.com/peaceiris/actions-hugo/commit/926e28de4aa8dca25a718a1eb8c593a771b2c3b3)), closes [#355](https://github.com/peaceiris/actions-hugo/issues/355)
|
||||||
|
* bump actions/setup-node from v1 to v2.0.0 (#359) ([41aa07a](https://github.com/peaceiris/actions-hugo/commit/41aa07a09a8f741e87bea9a2d763300f19702547)), closes [#359](https://github.com/peaceiris/actions-hugo/issues/359)
|
||||||
|
* bump codecov/codecov-action from v1 to v1.0.7 (#358) ([0b3975d](https://github.com/peaceiris/actions-hugo/commit/0b3975d69013fa58ebe97813b1de53260d654712)), closes [#358](https://github.com/peaceiris/actions-hugo/issues/358)
|
||||||
|
* Change update_type from all to semver:minor ([e4c9fb3](https://github.com/peaceiris/actions-hugo/commit/e4c9fb3020e200921210b2792ef39c5b70f335c6))
|
||||||
|
* Enhance test workflow (#301) ([0b128ac](https://github.com/peaceiris/actions-hugo/commit/0b128ac232579caa1e5817628f96aee1759a3627)), closes [#301](https://github.com/peaceiris/actions-hugo/issues/301)
|
||||||
|
* fix labels of github-actions ([697e1b0](https://github.com/peaceiris/actions-hugo/commit/697e1b0bf943bedbb08f978b353956d591f38dc0))
|
||||||
|
* remove pull_request.types ([312bc2c](https://github.com/peaceiris/actions-hugo/commit/312bc2c8e4e0c8f0e297fabe335bd322edbb5a3b))
|
||||||
|
* remove skipci job ([998d851](https://github.com/peaceiris/actions-hugo/commit/998d85162e3e9752aabdf6e7a2dd2dcdd946881e))
|
||||||
|
* Update Dependabot config file (#345) ([f0d9378](https://github.com/peaceiris/actions-hugo/commit/f0d93788f5871d7f4cfa35da5c12cada1b9de16e)), closes [#345](https://github.com/peaceiris/actions-hugo/issues/345)
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @actions/core from 1.2.3 to 1.2.4 ([aaaac3a](https://github.com/peaceiris/actions-hugo/commit/aaaac3ae9967a1f3277ceb6aab52070034ec3565))
|
||||||
|
* bump @actions/exec from 1.0.3 to 1.0.4 ([a098653](https://github.com/peaceiris/actions-hugo/commit/a098653b2f3a9ed5e9bb14ccbf32dfe70c3f4dd3))
|
||||||
|
* bump @actions/tool-cache from 1.3.4 to 1.3.5 ([9ba5218](https://github.com/peaceiris/actions-hugo/commit/9ba52187b56e1070eee5b8d28b899ed7317405f6))
|
||||||
|
* bump @actions/tool-cache from 1.3.5 to 1.5.5 (#333) ([3c2f87a](https://github.com/peaceiris/actions-hugo/commit/3c2f87a0bff49d8aed403dd586b84f128f9ba4fd)), closes [#333](https://github.com/peaceiris/actions-hugo/issues/333)
|
||||||
|
* bump @types/jest from 25.2.1 to 25.2.2 ([4c11e4e](https://github.com/peaceiris/actions-hugo/commit/4c11e4e48a81e55ee0841a8018f16ec59f27ca20))
|
||||||
|
* bump @types/jest from 25.2.2 to 25.2.3 ([b1d5e3f](https://github.com/peaceiris/actions-hugo/commit/b1d5e3fb147bfbb9c89327b64067e4cde1b2ac84))
|
||||||
|
* bump @types/jest from 25.2.3 to 26.0.0 (#352) ([b18493f](https://github.com/peaceiris/actions-hugo/commit/b18493fdf7d73b960b320e49e1d5b83991e87c88)), closes [#352](https://github.com/peaceiris/actions-hugo/issues/352)
|
||||||
|
* bump @types/node from 12.12.37 to 12.12.38 ([dc79cf9](https://github.com/peaceiris/actions-hugo/commit/dc79cf98c43e9310a1ab08bb501529d7ed6aaedc))
|
||||||
|
* bump @types/node from 12.12.38 to 12.12.41 ([89fc843](https://github.com/peaceiris/actions-hugo/commit/89fc843efbe601d77b00552cd75ef7a262f9560a))
|
||||||
|
* bump @types/node from 12.12.41 to 12.12.42 ([ad8ddd7](https://github.com/peaceiris/actions-hugo/commit/ad8ddd743ab4b5e555f93f960e2f9913624102ac))
|
||||||
|
* bump @types/node from 12.12.42 to 12.12.43 ([07ef174](https://github.com/peaceiris/actions-hugo/commit/07ef174ec463583d48557606ba0546543ff7a677))
|
||||||
|
* bump @types/node from 12.12.43 to 12.12.44 (#347) ([e92a791](https://github.com/peaceiris/actions-hugo/commit/e92a791bf30d2c682faf364d4d8658f944384d46)), closes [#347](https://github.com/peaceiris/actions-hugo/issues/347)
|
||||||
|
* bump @types/node from 12.12.44 to 12.12.45 (#350) ([b5e2760](https://github.com/peaceiris/actions-hugo/commit/b5e2760b23b75985a5963549ef967ad204e0b44a)), closes [#350](https://github.com/peaceiris/actions-hugo/issues/350)
|
||||||
|
* bump @types/node from 12.12.45 to 12.12.47 (#351) ([2f831ed](https://github.com/peaceiris/actions-hugo/commit/2f831edb58c1372ecf7707dd046cabece5687106)), closes [#351](https://github.com/peaceiris/actions-hugo/issues/351)
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.28.0 to 2.30.0 ([3e0138d](https://github.com/peaceiris/actions-hugo/commit/3e0138dbef3407a112e64881f1550c88456109e9))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.30.0 to 2.31.0 ([b92f084](https://github.com/peaceiris/actions-hugo/commit/b92f084f4595967244dc347624cfab55415b0bc1))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.31.0 to 2.32.0 ([9216be3](https://github.com/peaceiris/actions-hugo/commit/9216be3bc0ef12b561702f0a148c20b79f6834d2))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.32.0 to 2.33.0 ([66a332b](https://github.com/peaceiris/actions-hugo/commit/66a332b429091e28faebc300216f305e81c339f7))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.33.0 to 2.34.0 ([7e64f45](https://github.com/peaceiris/actions-hugo/commit/7e64f450a732b1336e2b46870c89d989cbf52d47))
|
||||||
|
* bump @typescript-eslint/parser from 2.30.0 to 2.31.0 ([b99a08a](https://github.com/peaceiris/actions-hugo/commit/b99a08a3b8e7dc0711f18e3c8180d1c8c873eb1b))
|
||||||
|
* bump @typescript-eslint/parser from 2.31.0 to 2.32.0 ([8c661f7](https://github.com/peaceiris/actions-hugo/commit/8c661f7d9b7ab8cf940148fde66a58a6befa6391))
|
||||||
|
* bump @typescript-eslint/parser from 2.32.0 to 2.33.0 ([012b11d](https://github.com/peaceiris/actions-hugo/commit/012b11dba4f2e38755c5acdfba1c4711f009c3ae))
|
||||||
|
* bump @typescript-eslint/parser from 2.33.0 to 2.34.0 ([271cee0](https://github.com/peaceiris/actions-hugo/commit/271cee08e77e64479d7282a1f7bba2733c1a5502))
|
||||||
|
* bump @zeit/ncc from 0.22.1 to 0.22.2 (#329) ([98135d2](https://github.com/peaceiris/actions-hugo/commit/98135d2cd0f2f4597c404384cafa03215fd01378)), closes [#329](https://github.com/peaceiris/actions-hugo/issues/329)
|
||||||
|
* bump @zeit/ncc from 0.22.2 to 0.22.3 (#339) ([8f166cf](https://github.com/peaceiris/actions-hugo/commit/8f166cf07e4691d65b912ad2fef51aa3e5ff57fe)), closes [#339](https://github.com/peaceiris/actions-hugo/issues/339)
|
||||||
|
* bump eslint-plugin-jest from 23.10.0 to 23.11.0 ([c264525](https://github.com/peaceiris/actions-hugo/commit/c264525a0ab2387ea6309d92576e7462c903a1f5))
|
||||||
|
* bump eslint-plugin-jest from 23.11.0 to 23.12.0 ([e6a0191](https://github.com/peaceiris/actions-hugo/commit/e6a01917e07ede5857ebc5e686249e8d3ff9a491))
|
||||||
|
* bump eslint-plugin-jest from 23.12.0 to 23.13.0 ([dd37fe2](https://github.com/peaceiris/actions-hugo/commit/dd37fe20fa14d9a38229a3d004c1db29de6a6e74))
|
||||||
|
* bump eslint-plugin-jest from 23.13.0 to 23.13.1 ([7d80e16](https://github.com/peaceiris/actions-hugo/commit/7d80e1641cfd813ce9387b4b9961a4e7845f31ec))
|
||||||
|
* bump eslint-plugin-jest from 23.13.1 to 23.13.2 ([b458469](https://github.com/peaceiris/actions-hugo/commit/b458469ce7b3a8dd28e7c9cd4428bbf293202e18))
|
||||||
|
* bump eslint-plugin-jest from 23.8.2 to 23.9.0 ([11b6ba4](https://github.com/peaceiris/actions-hugo/commit/11b6ba478ca58a02938a6d650d6d0a7a0637054e))
|
||||||
|
* bump eslint-plugin-jest from 23.9.0 to 23.10.0 ([ef0b1e0](https://github.com/peaceiris/actions-hugo/commit/ef0b1e0a8500c34dff72bb6e730a5d2d62db362f))
|
||||||
|
* bump git from 2.26.1 to 2.27.0 (#354) ([5420562](https://github.com/peaceiris/actions-hugo/commit/54205620eee116a6c8b2b43047be61fec3713f75)), closes [#354](https://github.com/peaceiris/actions-hugo/issues/354)
|
||||||
|
* bump jest from 25.5.0 to 25.5.1 ([b9fb59f](https://github.com/peaceiris/actions-hugo/commit/b9fb59f829d2305d75c8d6f4acafa19d0f3c9376))
|
||||||
|
* bump jest from 25.5.1 to 25.5.2 ([b9569c2](https://github.com/peaceiris/actions-hugo/commit/b9569c27b6b33a0677dbb14f753b4494b7aa3ff1))
|
||||||
|
* bump jest from 25.5.2 to 25.5.3 ([815ceae](https://github.com/peaceiris/actions-hugo/commit/815ceae6cf2313a1c633cfc24648f08015101d49))
|
||||||
|
* bump jest from 25.5.3 to 25.5.4 ([b0c6103](https://github.com/peaceiris/actions-hugo/commit/b0c61036db0b2f5747405b1c2e29c262d3af6364))
|
||||||
|
* bump jest-circus from 25.5.0 to 25.5.1 ([a3c3e71](https://github.com/peaceiris/actions-hugo/commit/a3c3e71549f8f2b4d19e2a9c1908bc094d3c7964))
|
||||||
|
* bump jest-circus from 25.5.1 to 25.5.2 ([ed2a699](https://github.com/peaceiris/actions-hugo/commit/ed2a6998667974d53da9eb518d497f1842362413))
|
||||||
|
* bump jest-circus from 25.5.2 to 25.5.3 ([02e6a28](https://github.com/peaceiris/actions-hugo/commit/02e6a28e7e7ecfd74ba1de73a0e69cd9d32aa856))
|
||||||
|
* bump jest-circus from 25.5.3 to 25.5.4 ([9983819](https://github.com/peaceiris/actions-hugo/commit/9983819c7b12bf0b2199eefb45264ef96b2b86ec))
|
||||||
|
* bump jest-circus from 25.5.4 to 26.0.0 ([fc3f6e7](https://github.com/peaceiris/actions-hugo/commit/fc3f6e7cc9e9bbd4a31ba5644b44a40c4e092882))
|
||||||
|
* bump jest-circus from 26.0.0 to 26.0.1 ([4271d65](https://github.com/peaceiris/actions-hugo/commit/4271d65cbac605d9b9143a59ed77436a90328439))
|
||||||
|
* bump lint-staged from 10.1.6 to 10.2.0 ([5dbfe6b](https://github.com/peaceiris/actions-hugo/commit/5dbfe6b02fa7ea6c544a91b8c733f370eb781fe1))
|
||||||
|
* bump lint-staged from 10.2.0 to 10.2.1 ([97168f4](https://github.com/peaceiris/actions-hugo/commit/97168f4ffdc9120321ab81f3785ed883a0292da2))
|
||||||
|
* bump lint-staged from 10.2.1 to 10.2.2 ([466efd6](https://github.com/peaceiris/actions-hugo/commit/466efd6e327be8268c8e4f58b8dde51b571696b0))
|
||||||
|
* bump lint-staged from 10.2.10 to 10.2.11 (#357) ([4ec522d](https://github.com/peaceiris/actions-hugo/commit/4ec522dca345774f865ef33f624c622763dedbb8)), closes [#357](https://github.com/peaceiris/actions-hugo/issues/357)
|
||||||
|
* bump lint-staged from 10.2.2 to 10.2.4 ([2cdb0da](https://github.com/peaceiris/actions-hugo/commit/2cdb0da4debc0c98061b4e09c6547ddd2db1834c))
|
||||||
|
* bump lint-staged from 10.2.4 to 10.2.6 ([b920e24](https://github.com/peaceiris/actions-hugo/commit/b920e249f6a1acb1fbff7ff6e8711916869a27c3))
|
||||||
|
* bump lint-staged from 10.2.6 to 10.2.7 ([592603c](https://github.com/peaceiris/actions-hugo/commit/592603c7c2a30e3a450363117c41a7ec358f2d06))
|
||||||
|
* bump lint-staged from 10.2.7 to 10.2.8 (#346) ([533dde8](https://github.com/peaceiris/actions-hugo/commit/533dde857531b95164d8d5f21462187e581618a9)), closes [#346](https://github.com/peaceiris/actions-hugo/issues/346)
|
||||||
|
* bump lint-staged from 10.2.8 to 10.2.9 (#349) ([dcf08e2](https://github.com/peaceiris/actions-hugo/commit/dcf08e2fd2c712501ecb05cbc2005a1e4de06092)), closes [#349](https://github.com/peaceiris/actions-hugo/issues/349)
|
||||||
|
* bump lint-staged from 10.2.9 to 10.2.10 (#356) ([914abda](https://github.com/peaceiris/actions-hugo/commit/914abda3d8422bc3d850bb3651f7540dd714036a)), closes [#356](https://github.com/peaceiris/actions-hugo/issues/356)
|
||||||
|
* bump node from 12.16.1 to 12.16.3 (#288) ([32e3df2](https://github.com/peaceiris/actions-hugo/commit/32e3df2806a568e829146259abc0965797b6cf59)), closes [#288](https://github.com/peaceiris/actions-hugo/issues/288)
|
||||||
|
* bump node from 12.16.3 to 12.18.0 (#353) ([09cf940](https://github.com/peaceiris/actions-hugo/commit/09cf94008e15f8629028e708ebf5049286556670)), closes [#353](https://github.com/peaceiris/actions-hugo/issues/353)
|
||||||
|
* bump node from 12.18.0 to 12.18.1 (#360) ([7160613](https://github.com/peaceiris/actions-hugo/commit/71606133495c4ec46bff6f3096e9f98e62a24e05)), closes [#360](https://github.com/peaceiris/actions-hugo/issues/360)
|
||||||
|
* bump standard-version from 7.1.0 to 8.0.0 ([73356f0](https://github.com/peaceiris/actions-hugo/commit/73356f0ae57cb8fb165a929f8e9637120334b86a))
|
||||||
|
* bump ts-jest from 25.4.0 to 25.5.0 ([0c93074](https://github.com/peaceiris/actions-hugo/commit/0c93074aabfd1477a93af132e2e6ca8b397919d9))
|
||||||
|
* bump ts-jest from 25.5.0 to 25.5.1 ([d7c46d0](https://github.com/peaceiris/actions-hugo/commit/d7c46d09c935763ad519d2f34290f4ac6be38ccb))
|
||||||
|
* bump typescript from 3.8.3 to 3.9.2 ([b555054](https://github.com/peaceiris/actions-hugo/commit/b55505415753f290f1e3e93b92826257bd21aaee))
|
||||||
|
* bump typescript from 3.9.2 to 3.9.3 ([d3ebe5d](https://github.com/peaceiris/actions-hugo/commit/d3ebe5d657f863b5879b6fb2df7e6ba6bb2e983f))
|
||||||
|
* bump typescript from 3.9.3 to 3.9.5 (#348) ([658d24b](https://github.com/peaceiris/actions-hugo/commit/658d24bb3e335ec5695aa87bc6b2c02cd78f0028)), closes [#348](https://github.com/peaceiris/actions-hugo/issues/348)
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* add Babel ([b99235e](https://github.com/peaceiris/actions-hugo/commit/b99235e60ed6e4cbf138aa9167f567a4a6c664e6))
|
||||||
|
* Add new section for asciidoctor ([71fe6db](https://github.com/peaceiris/actions-hugo/commit/71fe6dbc7f2bd0596392fe20805753a67b00af1f)), closes [#342](https://github.com/peaceiris/actions-hugo/issues/342)
|
||||||
|
* Add new section for google/docsy ([e3045c5](https://github.com/peaceiris/actions-hugo/commit/e3045c5fb50cfbacbc0d9b9ce287d7e112f56e00))
|
||||||
|
* bump hugo from 0.68.3 to 0.71.0 ([cb3ccf6](https://github.com/peaceiris/actions-hugo/commit/cb3ccf6f428dc8320595af305c6531679b343eb1))
|
||||||
|
* bump hugo to 0.71.1 ([cb1a02b](https://github.com/peaceiris/actions-hugo/commit/cb1a02bb3535bef17b19b5811658d61b60377bcc))
|
||||||
|
* bump hugo to 0.71.1 ([ad41861](https://github.com/peaceiris/actions-hugo/commit/ad41861beb535cc414f8a2ff238b28aa334db49a))
|
||||||
|
* remove Dependabot status badge ([aa5de43](https://github.com/peaceiris/actions-hugo/commit/aa5de43b2b75066241428b66dcf9204351ab680b))
|
||||||
|
* update ToC ([dd33407](https://github.com/peaceiris/actions-hugo/commit/dd334074ce1f4f6c0e3599c0c913426bac4575fe))
|
||||||
|
* update url ([0f35b33](https://github.com/peaceiris/actions-hugo/commit/0f35b33b7371b0c4b115eeb0ea6acdb9cd2e0e78))
|
||||||
|
|
||||||
|
### fix
|
||||||
|
|
||||||
|
* Wrap an entrypoint by async to handle exceptions correctly (#363) ([54af4c1](https://github.com/peaceiris/actions-hugo/commit/54af4c1320eee4b2c9c6d46b4bede3f593b1bc50)), closes [#363](https://github.com/peaceiris/actions-hugo/issues/363)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.11](https://github.com/peaceiris/actions-hugo/compare/v2.4.10...v2.4.11) (2020-04-29)
|
||||||
|
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* Add npm i -g npm ([9d657ea](https://github.com/peaceiris/actions-hugo/commit/9d657ea2ca451bcaf8c3f9d07b83cabda69cc211))
|
||||||
|
* delete Stale workflow ([260f1b8](https://github.com/peaceiris/actions-hugo/commit/260f1b862cb3e9057add124e356f8ad57a19678a))
|
||||||
|
* remove unused steps ([85093b6](https://github.com/peaceiris/actions-hugo/commit/85093b6a03b26aa8ff08319f044ca0d9213fd86f))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @actions/tool-cache from 1.3.3 to 1.3.4 (#280) ([7b0270b](https://github.com/peaceiris/actions-hugo/commit/7b0270bcd541e18f3f8bc7113d5a0b0fd8daa9e7)), closes [#280](https://github.com/peaceiris/actions-hugo/issues/280)
|
||||||
|
* bump @types/node from 12.12.35 to 12.12.36 ([e860645](https://github.com/peaceiris/actions-hugo/commit/e860645a6078954ac9977a7a26ec2de1471cc214))
|
||||||
|
* bump @types/node from 12.12.36 to 12.12.37 ([163bda6](https://github.com/peaceiris/actions-hugo/commit/163bda68c5ba75a0e100a0a73094de4682f9570f))
|
||||||
|
* bump @types/node-fetch from 2.5.6 to 2.5.7 ([fe712b2](https://github.com/peaceiris/actions-hugo/commit/fe712b2ec6b34f70a7a515061b0e3ea0aa5af09e))
|
||||||
|
* bump @typescript-eslint/parser from 2.28.0 to 2.30.0 ([3d3730e](https://github.com/peaceiris/actions-hugo/commit/3d3730eab2a06b569b59142cf64c6ffafb65860a))
|
||||||
|
* bump jest from 25.3.0 to 25.5.0 ([7747eb7](https://github.com/peaceiris/actions-hugo/commit/7747eb710e4e55e2f0cb438cc77e43a43f454978))
|
||||||
|
* bump jest-circus from 25.3.0 to 25.5.0 ([73611a6](https://github.com/peaceiris/actions-hugo/commit/73611a6693297105e7a091829327400099b77f8c))
|
||||||
|
* bump lint-staged from 10.1.3 to 10.1.4 ([dac5ba9](https://github.com/peaceiris/actions-hugo/commit/dac5ba9b16d4e2e49568d1f0f5f78edf3ae5ead6))
|
||||||
|
* bump lint-staged from 10.1.4 to 10.1.5 ([808c2c1](https://github.com/peaceiris/actions-hugo/commit/808c2c15d159869de692307d7675bc345bf4d5ab))
|
||||||
|
* bump lint-staged from 10.1.5 to 10.1.6 ([5cb844d](https://github.com/peaceiris/actions-hugo/commit/5cb844d4a880257a8fae7dd06a754997cc499b7a))
|
||||||
|
* bump prettier from 2.0.4 to 2.0.5 ([f9bbc5a](https://github.com/peaceiris/actions-hugo/commit/f9bbc5a9ad3363924f05399d86ead5457da0d10f))
|
||||||
|
* bump ts-jest from 25.3.1 to 25.4.0 ([4d44414](https://github.com/peaceiris/actions-hugo/commit/4d4441466ca7b6b69af762b07ac8649d918c9aca))
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add link for the first deployment ([08ce241](https://github.com/peaceiris/actions-hugo/commit/08ce2418260b67becef3f05f3a2e0199616c018d))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.10](https://github.com/peaceiris/actions-hugo/compare/v2.4.9...v2.4.10) (2020-04-15)
|
||||||
|
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* Add automerged_updates ([4dadc2d](https://github.com/peaceiris/actions-hugo/commit/4dadc2dfbecb8c904f81871878c4dc7b9bfa8873))
|
||||||
|
* Add dependabot for auto-merging ([abb5843](https://github.com/peaceiris/actions-hugo/commit/abb58435605439b55727e3598e6f08d053379bba))
|
||||||
|
* add push event ([336da8a](https://github.com/peaceiris/actions-hugo/commit/336da8a2f242b90555daa9e99f8e8506db23b8b7))
|
||||||
|
* delete CODEOWNERS ([02db58a](https://github.com/peaceiris/actions-hugo/commit/02db58a779ac5de54af22f4b3a34c8db4fc5b646))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @types/jest from 25.1.5 to 25.2.1 (#253) ([3498de4](https://github.com/peaceiris/actions-hugo/commit/3498de4687459e7dc0d7896ba9c1c1cbdfc6a2e9)), closes [#253](https://github.com/peaceiris/actions-hugo/issues/253)
|
||||||
|
* bump @types/node from 12.12.34 to 12.12.35 ([fe90d2f](https://github.com/peaceiris/actions-hugo/commit/fe90d2f50f871eac7412103f3d63fd729e9c97ff))
|
||||||
|
* bump @types/node-fetch from 2.5.5 to 2.5.6 ([0815b8f](https://github.com/peaceiris/actions-hugo/commit/0815b8fb73cfc7f2db243f99638e2fe278c47d71))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.26.0 to 2.27.0 ([ea8d9db](https://github.com/peaceiris/actions-hugo/commit/ea8d9dba187dda369903a3f06c3a66d0c282402d))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.27.0 to 2.28.0 ([506aedd](https://github.com/peaceiris/actions-hugo/commit/506aeddc3aecc241027b6a0bc274f31549a0d38c))
|
||||||
|
* bump @typescript-eslint/parser from 2.26.0 to 2.27.0 ([acacbff](https://github.com/peaceiris/actions-hugo/commit/acacbff003c46f1865df3bf05a6e88665f6c157a))
|
||||||
|
* bump @typescript-eslint/parser from 2.27.0 to 2.28.0 ([009b47c](https://github.com/peaceiris/actions-hugo/commit/009b47c399ca8d8a8170d40e272f66b519895ab7))
|
||||||
|
* bump @zeit/ncc from 0.22.0 to 0.22.1 ([c66d90a](https://github.com/peaceiris/actions-hugo/commit/c66d90a3b24b74215c0a55631acdd167572cf68a))
|
||||||
|
* bump git from 2.26.0 to 2.26.1 (#269) ([05899bf](https://github.com/peaceiris/actions-hugo/commit/05899bf3aae5fe39b476e558d615dab85ebbdef0)), closes [#269](https://github.com/peaceiris/actions-hugo/issues/269)
|
||||||
|
* bump husky from 4.2.3 to 4.2.4 ([3fce776](https://github.com/peaceiris/actions-hugo/commit/3fce7767508b7b22db2e8fbbe08c3bec09f8f1f9))
|
||||||
|
* bump husky from 4.2.4 to 4.2.5 ([cb7cd1e](https://github.com/peaceiris/actions-hugo/commit/cb7cd1e26db8fdc27cfcf859b78ee4b9220df99c))
|
||||||
|
* bump jest from 25.2.7 to 25.3.0 ([a75d5eb](https://github.com/peaceiris/actions-hugo/commit/a75d5eb670d46782f396aec949a7a37fc2c26f7f))
|
||||||
|
* bump jest-circus from 25.2.7 to 25.3.0 ([62ebf73](https://github.com/peaceiris/actions-hugo/commit/62ebf73d5f66b7a5e158e367402d920713349931))
|
||||||
|
* bump lint-staged from 10.1.1 to 10.1.2 ([7eea088](https://github.com/peaceiris/actions-hugo/commit/7eea08803f6a63bc1b101e690815483256fb3598))
|
||||||
|
* bump lint-staged from 10.1.2 to 10.1.3 ([4ea3b50](https://github.com/peaceiris/actions-hugo/commit/4ea3b500e2cbc247244e1681c42719eefc0f1f7f))
|
||||||
|
* bump prettier from 2.0.2 to 2.0.4 ([ea60fc1](https://github.com/peaceiris/actions-hugo/commit/ea60fc1ec2355decbf7b1aa5e841992163b23fa6))
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add fetch-depth 0 ([c55729f](https://github.com/peaceiris/actions-hugo/commit/c55729fbd130889796da92d7859188dbbad0e32a))
|
||||||
|
* bump hugo to 0.68.3 ([949a480](https://github.com/peaceiris/actions-hugo/commit/949a480ff9a3e04d4baaa1197e745dee7ca21a2b))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.9](https://github.com/peaceiris/actions-hugo/compare/v2.4.8...v2.4.9) (2020-04-03)
|
||||||
|
|
||||||
|
|
||||||
|
### chore
|
||||||
|
|
||||||
|
* remove extra line [skip ci] (#239) ([b5b805b](https://github.com/peaceiris/actions-hugo/commit/b5b805beb99c69f65aee66539aa24ea533c83a34)), closes [#239](https://github.com/peaceiris/actions-hugo/issues/239)
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* comment out push event [skip ci] ([c34a46e](https://github.com/peaceiris/actions-hugo/commit/c34a46e748f8122acf9951ab042887d3eecea3fe))
|
||||||
|
* npm audit fix ([9229d6e](https://github.com/peaceiris/actions-hugo/commit/9229d6ea61a701010ce3a89cf6ab37bc33b163de))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @types/jest from 25.1.4 to 25.1.5 ([f5dac6e](https://github.com/peaceiris/actions-hugo/commit/f5dac6efe37fa47776500cfec0fa75b9f913cd4b))
|
||||||
|
* bump @types/node from 12.12.31 to 12.12.32 ([050ab4f](https://github.com/peaceiris/actions-hugo/commit/050ab4fa3cac4e36e51f7b95d33e1cb19cc87921))
|
||||||
|
* bump @types/node from 12.12.32 to 12.12.34 ([f73a43a](https://github.com/peaceiris/actions-hugo/commit/f73a43a95bc9d30eb22c2b87eea4cd76609863f0))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.25.0 to 2.26.0 ([5a904d4](https://github.com/peaceiris/actions-hugo/commit/5a904d42d558d16a4ba79c0ec28da41ba8303900))
|
||||||
|
* bump @typescript-eslint/parser from 2.25.0 to 2.26.0 ([0b1622d](https://github.com/peaceiris/actions-hugo/commit/0b1622da20405a63cd46c25ddb11cdb7a79fe6d9))
|
||||||
|
* bump jest from 25.2.3 to 25.2.4 ([050785a](https://github.com/peaceiris/actions-hugo/commit/050785a91cf309a578671ef29ef93491d89a2414))
|
||||||
|
* bump jest from 25.2.4 to 25.2.6 ([d242ef0](https://github.com/peaceiris/actions-hugo/commit/d242ef0982267bae74be58f9aa0da578e57e801c))
|
||||||
|
* bump jest from 25.2.6 to 25.2.7 ([43a340f](https://github.com/peaceiris/actions-hugo/commit/43a340f6cd1dd9ae05d83be0a4ef097a6308687c))
|
||||||
|
* bump jest-circus from 25.2.3 to 25.2.4 ([6486bc9](https://github.com/peaceiris/actions-hugo/commit/6486bc9a783f4c9394d41e848df7d3a206540b2b))
|
||||||
|
* bump jest-circus from 25.2.4 to 25.2.6 ([86cd995](https://github.com/peaceiris/actions-hugo/commit/86cd9953223bb8bc1049645c64b22e00594e2dde))
|
||||||
|
* bump jest-circus from 25.2.6 to 25.2.7 ([add0e7c](https://github.com/peaceiris/actions-hugo/commit/add0e7c0517a4da4b6cf9eaf2bc41225c72f6e6c))
|
||||||
|
* bump lint-staged from 10.0.10 to 10.1.0 ([c581b13](https://github.com/peaceiris/actions-hugo/commit/c581b131a63d283423756e0e72c9f4d316b99258))
|
||||||
|
* bump lint-staged from 10.0.9 to 10.0.10 ([e04f62b](https://github.com/peaceiris/actions-hugo/commit/e04f62b1a543ca757ca4db2ec74c52a9a500cbd2))
|
||||||
|
* bump lint-staged from 10.1.0 to 10.1.1 ([8a97893](https://github.com/peaceiris/actions-hugo/commit/8a97893cfe21fd03db36a5e406dc16ef1b129cb5))
|
||||||
|
* bump ts-jest from 25.2.1 to 25.3.0 ([72aae03](https://github.com/peaceiris/actions-hugo/commit/72aae0311c83d3064efa311c4ab8d3ee617c8929))
|
||||||
|
* bump ts-jest from 25.3.0 to 25.3.1 ([a6a0f2f](https://github.com/peaceiris/actions-hugo/commit/a6a0f2f7a8d6186ba698daee4f62018cc9c7cffc))
|
||||||
|
* npm audit fix ([c80eb16](https://github.com/peaceiris/actions-hugo/commit/c80eb16e094405a99316e90ad2cd0eedbe08f459))
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add link to interview (#234) ([ce3c331](https://github.com/peaceiris/actions-hugo/commit/ce3c3313741e14aceee0972bd1747b6606d6b4a0)), closes [#234](https://github.com/peaceiris/actions-hugo/issues/234)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.8](https://github.com/peaceiris/actions-hugo/compare/v2.4.7...v2.4.8) (2020-03-27)
|
||||||
|
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* Add workflow for developing container (#231) ([b71ad2d](https://github.com/peaceiris/actions-hugo/commit/b71ad2d01404ec9d8cf12979cca37d47310e9aa7)), closes [#231](https://github.com/peaceiris/actions-hugo/issues/231)
|
||||||
|
* set update_schedule live ([61937d1](https://github.com/peaceiris/actions-hugo/commit/61937d118fd2de55dd288ee18edabb0e9f9d11e0))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @types/node from 12.12.30 to 12.12.31 ([64135da](https://github.com/peaceiris/actions-hugo/commit/64135da123255189740dea81571630c0d8fcf7e7))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.23.0 to 2.24.0 ([2935a38](https://github.com/peaceiris/actions-hugo/commit/2935a38e763ed8cd23c43ba95236eeb811f659f9))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.25.0 ([b9b88c0](https://github.com/peaceiris/actions-hugo/commit/b9b88c049f68fdd1e11e50212923d07eb22967e1))
|
||||||
|
* bump @typescript-eslint/parser from 2.23.0 to 2.24.0 (#213) ([8807669](https://github.com/peaceiris/actions-hugo/commit/88076695a918ea1419ddeec9e16ba30e9faf4134)), closes [#213](https://github.com/peaceiris/actions-hugo/issues/213)
|
||||||
|
* bump @typescript-eslint/parser from 2.24.0 to 2.25.0 ([6bed412](https://github.com/peaceiris/actions-hugo/commit/6bed4121ee5d7bd8a3e22c856261b59b442f8193))
|
||||||
|
* bump @zeit/ncc from 0.21.1 to 0.22.0 ([c3a324f](https://github.com/peaceiris/actions-hugo/commit/c3a324ff3cf3e1b975c594d266ba4c7bd09daa19))
|
||||||
|
* bump jest from 25.1.0 to 25.2.0 ([d7620db](https://github.com/peaceiris/actions-hugo/commit/d7620db17f5b0b91867f71d01874a879651a727b))
|
||||||
|
* bump jest from 25.2.0 to 25.2.1 ([8cd28fc](https://github.com/peaceiris/actions-hugo/commit/8cd28fc857360a781d9ebd7103da74c17d4a2ce7))
|
||||||
|
* bump jest from 25.2.1 to 25.2.2 ([601b110](https://github.com/peaceiris/actions-hugo/commit/601b110315ada15bc46842682625b71a0be1902c))
|
||||||
|
* bump jest from 25.2.2 to 25.2.3 ([1649bea](https://github.com/peaceiris/actions-hugo/commit/1649bea4d0a67e4b6af6ed2b95fea1e66673239b))
|
||||||
|
* bump jest-circus from 25.1.0 to 25.2.0 ([702a3e4](https://github.com/peaceiris/actions-hugo/commit/702a3e4c9ae5cf3ce9e380e45504d2b28e0dcc46))
|
||||||
|
* bump jest-circus from 25.2.0 to 25.2.1 ([c1f3690](https://github.com/peaceiris/actions-hugo/commit/c1f369064cf05c10277655226e2a4723266d7161))
|
||||||
|
* bump jest-circus from 25.2.1 to 25.2.2 ([1bafab6](https://github.com/peaceiris/actions-hugo/commit/1bafab6d5aa5d524d86e28cf6bcb8c41a09cc51d))
|
||||||
|
* bump jest-circus from 25.2.2 to 25.2.3 ([a2600d5](https://github.com/peaceiris/actions-hugo/commit/a2600d572b522fb75cd38aba6b6306501618579d))
|
||||||
|
* bump lint-staged from 10.0.8 to 10.0.9 ([35eb187](https://github.com/peaceiris/actions-hugo/commit/35eb187a3cd1e2b3370f881bfc97396d483585f8))
|
||||||
|
* bump nock from 12.0.2 to 12.0.3 ([a3f7ea4](https://github.com/peaceiris/actions-hugo/commit/a3f7ea4140f3f85196f7ea5d76bd2eeb5524a646))
|
||||||
|
* bump prettier from 1.19.1 to 2.0.1 ([da65b73](https://github.com/peaceiris/actions-hugo/commit/da65b73f4d4d3f23a392b882cb81c6538dda23b0))
|
||||||
|
* bump prettier from 2.0.1 to 2.0.2 ([9b11300](https://github.com/peaceiris/actions-hugo/commit/9b11300647ddf5ce6c42733e335be78e5ae855b6))
|
||||||
|
* node from 12.15.0 to 12.16.1 (#232) ([e470a76](https://github.com/peaceiris/actions-hugo/commit/e470a760d3eda16dddba7bcf4c66a3ae371c61f2)), closes [#232](https://github.com/peaceiris/actions-hugo/issues/232)
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add codeclimate badge ([c69c549](https://github.com/peaceiris/actions-hugo/commit/c69c549ff8c5106c435657fba74f76cb807db1ec))
|
||||||
|
* bump actions/checkout to v2 ([33d3f73](https://github.com/peaceiris/actions-hugo/commit/33d3f73fc7bb54a2fe21cdeee8e93881c3094b92))
|
||||||
|
* update notes ([4cd0877](https://github.com/peaceiris/actions-hugo/commit/4cd0877e8793c755e53b341fa5fe43801f9319a2))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.7](https://github.com/peaceiris/actions-hugo/compare/v2.4.6...v2.4.7) (2020-03-13)
|
||||||
|
|
||||||
|
|
||||||
|
### ci
|
||||||
|
|
||||||
|
* update script link [skip ci] ([3d71d24](https://github.com/peaceiris/actions-hugo/commit/3d71d2403d36fe0c2770d1a69526ca5d8ba884c5))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* [security] bump acorn from 6.4.0 to 6.4.1 ([ea7a8f0](https://github.com/peaceiris/actions-hugo/commit/ea7a8f03436f5eefe2b0509210f62bb60eb645ce))
|
||||||
|
* bump @actions/core from 1.2.2 to 1.2.3 ([cc6e883](https://github.com/peaceiris/actions-hugo/commit/cc6e8832e8df3d38ea15016148e7499d67595412))
|
||||||
|
* bump @actions/tool-cache from 1.3.1 to 1.3.2 ([c6512d4](https://github.com/peaceiris/actions-hugo/commit/c6512d44a3620fbc3158c62e47d6a3e1a8a0696d))
|
||||||
|
* bump @actions/tool-cache from 1.3.2 to 1.3.3 ([0d2e118](https://github.com/peaceiris/actions-hugo/commit/0d2e11837b439e036687b3766548fe67efe14e04))
|
||||||
|
* bump @types/jest from 25.1.3 to 25.1.4 ([d17d509](https://github.com/peaceiris/actions-hugo/commit/d17d5099d67ed8aca0af28f612ffa36a2751b013))
|
||||||
|
* bump @types/node from 12.12.28 to 12.12.29 ([bc46e40](https://github.com/peaceiris/actions-hugo/commit/bc46e4063a096f87cc0faaf107b160c4686b9462))
|
||||||
|
* bump @types/node from 12.12.29 to 12.12.30 ([de4f7b1](https://github.com/peaceiris/actions-hugo/commit/de4f7b11367e07ace82f9ada91775cfbb03b88da))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.22.0 ([4ce8f62](https://github.com/peaceiris/actions-hugo/commit/4ce8f62edb9e86b50989996e17b6a8ed20b30a4b))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.22.0 to 2.23.0 ([844e33d](https://github.com/peaceiris/actions-hugo/commit/844e33d4107bfb7ab1cc21f6a4fab8b51bf441b1))
|
||||||
|
* bump @typescript-eslint/parser from 2.21.0 to 2.22.0 ([0a1c87e](https://github.com/peaceiris/actions-hugo/commit/0a1c87ea74e0cdf3a147e464f7814576f07a46bf))
|
||||||
|
* bump @typescript-eslint/parser from 2.22.0 to 2.23.0 ([703c21f](https://github.com/peaceiris/actions-hugo/commit/703c21fa41ab2b6f1c71a6bdbc4f795eff75abea))
|
||||||
|
* bump eslint-plugin-jest from 23.8.0 to 23.8.1 (#198) ([f48589d](https://github.com/peaceiris/actions-hugo/commit/f48589d80e2cf825cef0479d547f2767a2bf9414)), closes [#198](https://github.com/peaceiris/actions-hugo/issues/198)
|
||||||
|
* bump eslint-plugin-jest from 23.8.1 to 23.8.2 ([f9fbf81](https://github.com/peaceiris/actions-hugo/commit/f9fbf81b0c07b5293e596585fc22b49e40d818ec))
|
||||||
|
* bump hub 2.14.1 to 2.14.2 ([61f1757](https://github.com/peaceiris/actions-hugo/commit/61f1757c8c728f8fd8e8e96f56b81171e007ef28))
|
||||||
|
* bump nock from 12.0.1 to 12.0.2 ([c430dce](https://github.com/peaceiris/actions-hugo/commit/c430dcefd1e96d100f28c2a8e5b5084a84fe2c0d))
|
||||||
|
* bump typescript from 3.8.2 to 3.8.3 ([9026a94](https://github.com/peaceiris/actions-hugo/commit/9026a9453330ef8189b318c2339c250ea05c5947))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.6](https://github.com/peaceiris/actions-hugo/compare/v2.4.5...v2.4.6) (2020-02-26)
|
||||||
|
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @types/jest from 25.1.1 to 25.1.2 ([da0b7ac](https://github.com/peaceiris/actions-hugo/commit/da0b7ac273fb7fc345e8a98c58e620b7f85df2f5))
|
||||||
|
* bump @types/jest from 25.1.2 to 25.1.3 ([45ee73c](https://github.com/peaceiris/actions-hugo/commit/45ee73c48da3bd070b8e8a1f9bfed354e6e50c82))
|
||||||
|
* bump @types/node from 12.12.27 to 12.12.28 ([4eed9e4](https://github.com/peaceiris/actions-hugo/commit/4eed9e47590cb859dcc19bd396d1360b45813dda))
|
||||||
|
* bump @types/node from 13.7.0 to 13.7.1 ([9d826a4](https://github.com/peaceiris/actions-hugo/commit/9d826a479b558de962af26211fc1a3e2ae6d7b92))
|
||||||
|
* bump @types/node from 13.7.1 to 13.7.2 ([f3bcf96](https://github.com/peaceiris/actions-hugo/commit/f3bcf965479d21716fcdb4c6b459562b13892a4a))
|
||||||
|
* bump @types/node-fetch from 2.5.4 to 2.5.5 ([a8e5979](https://github.com/peaceiris/actions-hugo/commit/a8e5979167c907a9253458eb96b7b3281f055722))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.19.0 to 2.19.2 ([d56d87b](https://github.com/peaceiris/actions-hugo/commit/d56d87baca65a2ba667e218745e6409fc8ad6fcf))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.19.2 to 2.20.0 ([266cd0f](https://github.com/peaceiris/actions-hugo/commit/266cd0f3511e7ae5949d408a7374f7cf418420cd))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.20.0 to 2.21.0 ([5fcc41d](https://github.com/peaceiris/actions-hugo/commit/5fcc41dbee64328185c1450e01b5ec5c7bb7e7e8))
|
||||||
|
* bump @typescript-eslint/parser from 2.19.0 to 2.19.2 ([6b6e84e](https://github.com/peaceiris/actions-hugo/commit/6b6e84ed73751418f2c94fe50e135960082c51af))
|
||||||
|
* bump @typescript-eslint/parser from 2.19.2 to 2.20.0 ([2331ecd](https://github.com/peaceiris/actions-hugo/commit/2331ecd7332e9b1d816565a6faecf4b1f0e3f0d2))
|
||||||
|
* bump @typescript-eslint/parser from 2.20.0 to 2.21.0 ([bb9d9fa](https://github.com/peaceiris/actions-hugo/commit/bb9d9fa49a8dde93d1121211f8fe140c6f85794d))
|
||||||
|
* bump @zeit/ncc from 0.21.0 to 0.21.1 ([ef069a5](https://github.com/peaceiris/actions-hugo/commit/ef069a5b5b3305eebd68c97222f27a4b7eff8187))
|
||||||
|
* bump eslint-plugin-jest from 23.6.0 to 23.7.0 ([f802d7f](https://github.com/peaceiris/actions-hugo/commit/f802d7f38d757aa9d19596ede8783cc21687fc0d))
|
||||||
|
* bump eslint-plugin-jest from 23.7.0 to 23.8.0 ([cb4de30](https://github.com/peaceiris/actions-hugo/commit/cb4de30fad3d0414055024a3a0d460b1e8ec39ec))
|
||||||
|
* bump husky from 4.2.1 to 4.2.3 ([07c50af](https://github.com/peaceiris/actions-hugo/commit/07c50afccc821b24526b6c6257f65ba17a4bb727))
|
||||||
|
* bump lint-staged from 10.0.7 to 10.0.8 ([1972405](https://github.com/peaceiris/actions-hugo/commit/1972405991185de2af9d20fcf69786268e52039c))
|
||||||
|
* bump nock from 11.7.2 to 11.8.2 ([8095fcb](https://github.com/peaceiris/actions-hugo/commit/8095fcb0f41d1541ef1d84e019cb67f9e9595e85))
|
||||||
|
* bump nock from 11.8.2 to 12.0.0 ([4a12696](https://github.com/peaceiris/actions-hugo/commit/4a12696aca76ef260d0b7a55d1290c2b778ddfdb))
|
||||||
|
* bump nock from 12.0.0 to 12.0.1 ([231e402](https://github.com/peaceiris/actions-hugo/commit/231e4029187d257cc58b840ed341257b4b20e288))
|
||||||
|
* bump node from 12.14.1 to 12.15.0 (#172) ([8850dd5](https://github.com/peaceiris/actions-hugo/commit/8850dd5d86b98f7f80c761547cd73ce9df779127)), closes [#172](https://github.com/peaceiris/actions-hugo/issues/172)
|
||||||
|
* bump ts-jest from 25.2.0 to 25.2.1 ([4de9b09](https://github.com/peaceiris/actions-hugo/commit/4de9b09ee49dc89ca2d9a914f99020b6392580eb))
|
||||||
|
* bump typescript from 3.7.5 to 3.8.2 ([81b5611](https://github.com/peaceiris/actions-hugo/commit/81b5611b7c835dabe63ae1700be5719f276debf4))
|
||||||
|
* Rollback types/node 13 to 12 (#185) ([75c9bc6](https://github.com/peaceiris/actions-hugo/commit/75c9bc6dc7f95893877154254cd001d8b5ebe76a)), closes [#185](https://github.com/peaceiris/actions-hugo/issues/185)
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* Add note about actions/checkout@v2 ([b9e10c3](https://github.com/peaceiris/actions-hugo/commit/b9e10c3e30353f050fbad487660f9dd198c32662))
|
||||||
|
* update ([88ecc3f](https://github.com/peaceiris/actions-hugo/commit/88ecc3f3da2d10d3aa78000a27da4490493e81cb))
|
||||||
|
* use github_token ([41b2600](https://github.com/peaceiris/actions-hugo/commit/41b2600c915a0e5a3e0b2fc0fa178e65e311152a))
|
||||||
|
* use peaceiris/actions-gh-pages@v3 ([38f8dc8](https://github.com/peaceiris/actions-hugo/commit/38f8dc8ba89e5b6143d0c921b049481c011aa0a7))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.5](https://github.com/peaceiris/actions-hugo/compare/v2.4.4...v2.4.5) (2020-02-04)
|
||||||
|
|
||||||
|
|
||||||
|
### chore
|
||||||
|
|
||||||
|
* Add engines field ([aeba654](https://github.com/peaceiris/actions-hugo/commit/aeba6547bbb28e39b29e7d03f6978c80d6c09931))
|
||||||
|
|
||||||
|
### deps
|
||||||
|
|
||||||
|
* bump @types/jest from 25.1.0 to 25.1.1 ([f18cf68](https://github.com/peaceiris/actions-hugo/commit/f18cf68aea6a7d00504e6335efedb30a14f8c021))
|
||||||
|
* bump @types/node from 13.5.0 to 13.5.1 ([a9aa73f](https://github.com/peaceiris/actions-hugo/commit/a9aa73f7b42aadd8e6bbbf77ad51143b99f18e40))
|
||||||
|
* bump @types/node from 13.5.1 to 13.5.2 ([aed27b9](https://github.com/peaceiris/actions-hugo/commit/aed27b97077aed97ef3c9e27ee7066a5a7a55c40))
|
||||||
|
* bump @types/node from 13.5.2 to 13.5.3 ([e8c9424](https://github.com/peaceiris/actions-hugo/commit/e8c9424357a611602420145f8f289752b2521863))
|
||||||
|
* bump @types/node from 13.5.3 to 13.7.0 ([e375f4f](https://github.com/peaceiris/actions-hugo/commit/e375f4fff3fc25ace239150a37912746292b4e67))
|
||||||
|
* bump @typescript-eslint/eslint-plugin from 2.18.0 to 2.19.0 ([3907220](https://github.com/peaceiris/actions-hugo/commit/3907220f13b04e23a4d300439cdc11b05ea034c1))
|
||||||
|
* bump @typescript-eslint/parser from 2.18.0 to 2.19.0 (#170) ([747598e](https://github.com/peaceiris/actions-hugo/commit/747598e8dc8f2f8ea8c3a8964531e3c7fa1b11d7)), closes [#170](https://github.com/peaceiris/actions-hugo/issues/170)
|
||||||
|
* bump lint-staged from 10.0.3 to 10.0.4 ([4f359ec](https://github.com/peaceiris/actions-hugo/commit/4f359ec551fa404b81d7a5832b16a3729874c611))
|
||||||
|
* bump lint-staged from 10.0.4 to 10.0.5 ([2fb0c15](https://github.com/peaceiris/actions-hugo/commit/2fb0c15ce023c9b4831e1acab7d97c0ba50d5a9d))
|
||||||
|
* bump lint-staged from 10.0.5 to 10.0.6 ([aa532f2](https://github.com/peaceiris/actions-hugo/commit/aa532f2f962cb4c9473f59fd4adbf67f4bfc3554))
|
||||||
|
* bump lint-staged from 10.0.6 to 10.0.7 ([ac7a2d6](https://github.com/peaceiris/actions-hugo/commit/ac7a2d661b0cb2b28f9967e2c65567f3b6ef9abc))
|
||||||
|
* bump ts-jest from 25.0.0 to 25.1.0 ([24f14e4](https://github.com/peaceiris/actions-hugo/commit/24f14e4ba907ee0920a608a0cf204387f1a26d53))
|
||||||
|
* bump ts-jest from 25.1.0 to 25.2.0 ([022950c](https://github.com/peaceiris/actions-hugo/commit/022950c85b46b0e873e66b5d6732b02ea09aa566))
|
||||||
|
|
||||||
|
### docs
|
||||||
|
|
||||||
|
* add Dependabot badge ([40cba97](https://github.com/peaceiris/actions-hugo/commit/40cba97ea7d81fcbaccd754f9d4e2f28db6afbf3))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [2.4.4](https://github.com/peaceiris/actions-hugo/compare/v2.4.3...v2.4.4) (2020-01-28)
|
## [2.4.4](https://github.com/peaceiris/actions-hugo/compare/v2.4.3...v2.4.4) (2020-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ RUN apt-get update && \
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /git
|
WORKDIR /git
|
||||||
ENV GIT_VERSION="2.25.0"
|
ENV GIT_VERSION="2.28.0"
|
||||||
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
||||||
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
|
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
|
||||||
rm "./v${GIT_VERSION}.tar.gz" && \
|
rm "./v${GIT_VERSION}.tar.gz" && \
|
||||||
@@ -24,5 +24,6 @@ RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
|||||||
make install
|
make install
|
||||||
|
|
||||||
WORKDIR /repo
|
WORKDIR /repo
|
||||||
|
ENV RUNNER_TEMP="/tmp"
|
||||||
|
|
||||||
CMD [ "bash" ]
|
CMD [ "bash" ]
|
||||||
|
|||||||
15
Makefile
15
Makefile
@@ -4,6 +4,7 @@ IMAGE_NAME := actions_hugo_dev:latest
|
|||||||
NODE_VERSION := $(shell cat ./.nvmrc)
|
NODE_VERSION := $(shell cat ./.nvmrc)
|
||||||
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --build-arg NODE_VERSION=$(NODE_VERSION)
|
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --build-arg NODE_VERSION=$(NODE_VERSION)
|
||||||
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/root/.gitconfig $(IMAGE_NAME)
|
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/root/.gitconfig $(IMAGE_NAME)
|
||||||
|
DOCKER_RUN_CI := docker run --rm -v ${PWD}:/repo $(IMAGE_NAME)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
@@ -14,10 +15,18 @@ build:
|
|||||||
run:
|
run:
|
||||||
$(DOCKER_RUN) $(cmd)
|
$(DOCKER_RUN) $(cmd)
|
||||||
|
|
||||||
|
.PHONY: cirun
|
||||||
|
cirun:
|
||||||
|
$(DOCKER_RUN_CI) $(cmd)
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
$(DOCKER_RUN) npm test
|
$(DOCKER_RUN) npm test
|
||||||
|
|
||||||
.PHONY: commit
|
.PHONY: all
|
||||||
commit:
|
all:
|
||||||
$(DOCKER_RUN) git commit -m "$(msg)"
|
$(DOCKER_RUN) npm run all
|
||||||
|
|
||||||
|
.PHONY: ciall
|
||||||
|
ciall:
|
||||||
|
$(DOCKER_RUN_CI) npm run all
|
||||||
|
|||||||
181
README.md
181
README.md
@@ -1,10 +1,13 @@
|
|||||||
[](https://github.com/peaceiris/actions-hugo/blob/master/LICENSE)
|
[](https://github.com/peaceiris/actions-hugo/blob/main/LICENSE)
|
||||||
[](https://github.com/peaceiris/actions-hugo/releases/latest)
|
[](https://github.com/peaceiris/actions-hugo/releases/latest)
|
||||||
[](https://github.com/peaceiris/actions-hugo/releases)
|
[](https://github.com/peaceiris/actions-hugo/releases)
|
||||||

|
|
||||||
[](https://www.codefactor.io/repository/github/peaceiris/actions-hugo)
|
|
||||||
[](https://codecov.io/gh/peaceiris/actions-hugo)
|
|
||||||
[](https://github.com/peaceiris/actions-hugo/releases.atom)
|
[](https://github.com/peaceiris/actions-hugo/releases.atom)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
[](https://www.codefactor.io/repository/github/peaceiris/actions-hugo)
|
||||||
|
[](https://codecov.io/gh/peaceiris/actions-hugo)
|
||||||
|
[](https://codeclimate.com/github/peaceiris/actions-hugo/maintainability)
|
||||||
|
|
||||||
<img width="400" alt="GitHub Actions for Hugo" src="./images/ogp.svg">
|
<img width="400" alt="GitHub Actions for Hugo" src="./images/ogp.svg">
|
||||||
|
|
||||||
@@ -44,7 +47,10 @@ Thanks to this change, we can complete this action in less than a few seconds.
|
|||||||
- [⭐️ Use Hugo extended](#%EF%B8%8F-use-hugo-extended)
|
- [⭐️ Use Hugo extended](#%EF%B8%8F-use-hugo-extended)
|
||||||
- [⭐️ Use the latest version of Hugo](#%EF%B8%8F-use-the-latest-version-of-hugo)
|
- [⭐️ Use the latest version of Hugo](#%EF%B8%8F-use-the-latest-version-of-hugo)
|
||||||
- [Tips](#tips)
|
- [Tips](#tips)
|
||||||
|
- [⭐️ Caching Hugo Modules](#%EF%B8%8F-caching-hugo-modules)
|
||||||
- [⭐️ Read Hugo version from file](#%EF%B8%8F-read-hugo-version-from-file)
|
- [⭐️ Read Hugo version from file](#%EF%B8%8F-read-hugo-version-from-file)
|
||||||
|
- [⭐️ Workflow for autoprefixer and postcss-cli](#%EF%B8%8F-workflow-for-autoprefixer-and-postcss-cli)
|
||||||
|
- [⭐️ Workflow for asciidoctor](#%EF%B8%8F-workflow-for-asciidoctor)
|
||||||
- [CHANGELOG](#changelog)
|
- [CHANGELOG](#changelog)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
- [About Maintainer](#about-maintainer)
|
- [About Maintainer](#about-maintainer)
|
||||||
@@ -58,46 +64,44 @@ Thanks to this change, we can complete this action in less than a few seconds.
|
|||||||
|
|
||||||
### ⭐️ Create your workflow
|
### ⭐️ Create your workflow
|
||||||
|
|
||||||
An example workflow `.github/workflows/gh-pages.yml` with [GitHub Actions for GitHub Pages]
|
An example workflow `.github/workflows/gh-pages.yml` with [GitHub Actions for GitHub Pages].
|
||||||
|
For the first deployment, we have to do this operation: [First Deployment with `GITHUB_TOKEN` - peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-first-deployment-with-github_token)
|
||||||
|
|
||||||
[GitHub Actions for GitHub Pages]: https://github.com/peaceiris/actions-gh-pages
|
[GitHub Actions for GitHub Pages]: https://github.com/peaceiris/actions-gh-pages
|
||||||
|
|
||||||
[](https://github.com/peaceiris/actions-gh-pages)
|
[](https://github.com/peaceiris/actions-gh-pages)
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: github pages
|
name: github pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main # Set a branch to deploy
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy:
|
deploy:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
# with:
|
with:
|
||||||
# submodules: true
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: '0.62.2'
|
hugo-version: '0.75.1'
|
||||||
# extended: true
|
# extended: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v2
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
env:
|
with:
|
||||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PUBLISH_BRANCH: gh-pages
|
publish_dir: ./public
|
||||||
PUBLISH_DIR: ./public
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<div align="right">
|
<div align="right">
|
||||||
@@ -116,7 +120,7 @@ Set `extended: true` to use a Hugo extended version.
|
|||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: '0.62.2'
|
hugo-version: '0.75.1'
|
||||||
extended: true
|
extended: true
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -141,6 +145,23 @@ This action fetches the latest version of Hugo by [hugo | Homebrew Formulae](htt
|
|||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
|
|
||||||
|
### ⭐️ Caching Hugo Modules
|
||||||
|
|
||||||
|
Insert a cache step before site-building as follows.
|
||||||
|
Note that the cache dir location of Hugo on a Linux-based operating system is `/tmp/hugo_cache`. On macOS, `${TMPDIR}/hugo_cache` has the location.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: /tmp/hugo_cache
|
||||||
|
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-hugomod-
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: hugo --minify
|
||||||
|
```
|
||||||
|
|
||||||
### ⭐️ Read Hugo version from file
|
### ⭐️ Read Hugo version from file
|
||||||
|
|
||||||
How to sync a Hugo version between a Docker Compose and a GitHub Actions workflow via `.env` file.
|
How to sync a Hugo version between a Docker Compose and a GitHub Actions workflow via `.env` file.
|
||||||
@@ -148,7 +169,7 @@ How to sync a Hugo version between a Docker Compose and a GitHub Actions workflo
|
|||||||
Write a `HUGO_VERSION` to the `.env` file like the following and push it to a remote branch.
|
Write a `HUGO_VERSION` to the `.env` file like the following and push it to a remote branch.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
HUGO_VERSION=0.62.2
|
HUGO_VERSION=0.75.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, add a step to read a Hugo version from the `.env` file.
|
Next, add a step to read a Hugo version from the `.env` file.
|
||||||
@@ -177,6 +198,7 @@ services:
|
|||||||
container_name: hugo
|
container_name: hugo
|
||||||
image: "peaceiris/hugo:v${HUGO_VERSION}"
|
image: "peaceiris/hugo:v${HUGO_VERSION}"
|
||||||
# image: peaceiris/hugo:v${HUGO_VERSION}-mod # Hugo Modules
|
# image: peaceiris/hugo:v${HUGO_VERSION}-mod # Hugo Modules
|
||||||
|
# image: peaceiris/hugo:v${HUGO_VERSION}-full # Hugo Modules and Node.js
|
||||||
ports:
|
ports:
|
||||||
- 1313:1313
|
- 1313:1313
|
||||||
volumes:
|
volumes:
|
||||||
@@ -191,6 +213,107 @@ The alpine base Hugo Docker image is provided on the following repository.
|
|||||||
|
|
||||||
> [peaceiris/hugo-extended-docker: Hugo alpine base Docker image (Hugo extended and Hugo Modules)](https://github.com/peaceiris/hugo-extended-docker)
|
> [peaceiris/hugo-extended-docker: Hugo alpine base Docker image (Hugo extended and Hugo Modules)](https://github.com/peaceiris/hugo-extended-docker)
|
||||||
|
|
||||||
|
### ⭐️ Workflow for autoprefixer and postcss-cli
|
||||||
|
|
||||||
|
Here is an example workflow for the [google/docsy] Hugo theme.
|
||||||
|
This theme needs `autoprefixer` and `postcss-cli` to build a project.
|
||||||
|
The following workflow is tested on [google/docsy-example].
|
||||||
|
|
||||||
|
[google/docsy]: https://github.com/google/docsy
|
||||||
|
[google/docsy-example]: https://github.com/google/docsy-example
|
||||||
|
|
||||||
|
A workflow for the Hugo Babel pipeline is also the same as follows.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: github pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # Set a branch to deploy
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive # Fetch the Docsy theme
|
||||||
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: '0.75.1'
|
||||||
|
extended: true
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '12.x'
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
|
- run: npm ci
|
||||||
|
- run: hugo --minify
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
```
|
||||||
|
|
||||||
|
### ⭐️ Workflow for asciidoctor
|
||||||
|
|
||||||
|
Here is an example workflow for a Hugo project using `asciidoctor`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: github pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # Set a branch to deploy
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: '0.75.1'
|
||||||
|
extended: true
|
||||||
|
|
||||||
|
- name: Setup Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.7
|
||||||
|
|
||||||
|
- run: gem install asciidoctor
|
||||||
|
|
||||||
|
- name: Run Hugo
|
||||||
|
run: |
|
||||||
|
alias asciidoctor="asciidoctor --attribute=experimental=true --attribute=icons=font"
|
||||||
|
hugo --minify
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
```
|
||||||
|
|
||||||
<div align="right">
|
<div align="right">
|
||||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -207,31 +330,27 @@ The alpine base Hugo Docker image is provided on the following repository.
|
|||||||
|
|
||||||
- [MIT License - peaceiris/actions-hugo]
|
- [MIT License - peaceiris/actions-hugo]
|
||||||
|
|
||||||
[MIT License - peaceiris/actions-hugo]: https://github.com/peaceiris/actions-hugo/blob/master/LICENSE
|
[MIT License - peaceiris/actions-hugo]: https://github.com/peaceiris/actions-hugo/blob/main/LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## About Maintainer
|
## About Maintainer
|
||||||
|
|
||||||
- [peaceiris homepage](https://peaceiris.com/)
|
- [peaceiris homepage](https://peaceiris.com/)
|
||||||
|
- [GitHub Action Hero: Shohei Ueda - The GitHub Blog](https://github.blog/2020-03-22-github-action-hero-shohei-ueda/)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Maintainer Notes
|
## Maintainer Notes
|
||||||
|
|
||||||
Run `npm` and `git commit` commands on a container.
|
Run `npm test` on a Docker container.
|
||||||
|
|
||||||
**On Host**
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Docker
|
# On container
|
||||||
make build
|
make build
|
||||||
make run
|
make all
|
||||||
make run cmd="env"
|
|
||||||
make test
|
|
||||||
make commit msg="chore: Add Makefile"
|
|
||||||
|
|
||||||
# Release
|
# Release script on host
|
||||||
./release.sh
|
./release.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -27,15 +27,9 @@ describe('getURL()', () => {
|
|||||||
|
|
||||||
describe('getLatestVersion()', () => {
|
describe('getLatestVersion()', () => {
|
||||||
test('return latest version via brew', async () => {
|
test('return latest version via brew', async () => {
|
||||||
nock('https://formulae.brew.sh')
|
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||||
.get(`/api/formula/${Tool.Repo}.json`)
|
|
||||||
.reply(200, jsonTestBrew);
|
|
||||||
|
|
||||||
const versionLatest: string = await getLatestVersion(
|
const versionLatest: string = await getLatestVersion(Tool.Org, Tool.Repo, 'brew');
|
||||||
Tool.Org,
|
|
||||||
Tool.Repo,
|
|
||||||
'brew'
|
|
||||||
);
|
|
||||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -44,21 +38,13 @@ describe('getLatestVersion()', () => {
|
|||||||
.get(`/repos/${Tool.Org}/${Tool.Repo}/releases/latest`)
|
.get(`/repos/${Tool.Org}/${Tool.Repo}/releases/latest`)
|
||||||
.reply(200, jsonTestGithub);
|
.reply(200, jsonTestGithub);
|
||||||
|
|
||||||
const versionLatest: string = await getLatestVersion(
|
const versionLatest: string = await getLatestVersion(Tool.Org, Tool.Repo, 'github');
|
||||||
Tool.Org,
|
|
||||||
Tool.Repo,
|
|
||||||
'github'
|
|
||||||
);
|
|
||||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('return exception 404', async () => {
|
test('return exception 404', async () => {
|
||||||
nock('https://formulae.brew.sh')
|
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(404);
|
||||||
.get(`/api/formula/${Tool.Repo}.json`)
|
|
||||||
.reply(404);
|
|
||||||
|
|
||||||
await expect(
|
await expect(getLatestVersion(Tool.Org, Tool.Repo, 'brew')).rejects.toThrowError(FetchError);
|
||||||
getLatestVersion(Tool.Org, Tool.Repo, 'brew')
|
|
||||||
).rejects.toThrowError(FetchError);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ import getURL from '../src/get-url';
|
|||||||
|
|
||||||
describe('getURL()', () => {
|
describe('getURL()', () => {
|
||||||
test('test', () => {
|
test('test', () => {
|
||||||
const baseURL =
|
const baseURL = 'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
|
||||||
'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
|
|
||||||
const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`;
|
const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`;
|
||||||
const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`;
|
const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`;
|
||||||
const urlMacOS = `${baseURL}/hugo_0.58.2_macOS-64bit.tar.gz`;
|
const urlMacOS = `${baseURL}/hugo_0.58.2_macOS-64bit.tar.gz`;
|
||||||
|
|||||||
@@ -43,36 +43,26 @@ describe('Integration testing run()', () => {
|
|||||||
test('succeed in installing the latest version', async () => {
|
test('succeed in installing the latest version', async () => {
|
||||||
const testVersion = 'latest';
|
const testVersion = 'latest';
|
||||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||||
nock('https://formulae.brew.sh')
|
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||||
.get(`/api/formula/${Tool.Repo}.json`)
|
|
||||||
.reply(200, jsonTestBrew);
|
|
||||||
const result: main.ActionResult = await main.run();
|
const result: main.ActionResult = await main.run();
|
||||||
expect(result.exitcode).toBe(0);
|
expect(result.exitcode).toBe(0);
|
||||||
expect(result.output).toMatch(
|
expect(result.output).toMatch(`Hugo Static Site Generator v${Tool.TestVersionLatest}`);
|
||||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('succeed in installing the latest extended version', async () => {
|
test('succeed in installing the latest extended version', async () => {
|
||||||
const testVersion = 'latest';
|
const testVersion = 'latest';
|
||||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||||
process.env['INPUT_EXTENDED'] = 'true';
|
process.env['INPUT_EXTENDED'] = 'true';
|
||||||
nock('https://formulae.brew.sh')
|
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||||
.get(`/api/formula/${Tool.Repo}.json`)
|
|
||||||
.reply(200, jsonTestBrew);
|
|
||||||
const result: main.ActionResult = await main.run();
|
const result: main.ActionResult = await main.run();
|
||||||
expect(result.exitcode).toBe(0);
|
expect(result.exitcode).toBe(0);
|
||||||
expect(result.output).toMatch(
|
expect(result.output).toMatch(`Hugo Static Site Generator v${Tool.TestVersionLatest}`);
|
||||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
|
||||||
);
|
|
||||||
expect(result.output).toMatch(`extended`);
|
expect(result.output).toMatch(`extended`);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('fail to install the latest version due to 404 of brew', async () => {
|
test('fail to install the latest version due to 404 of brew', async () => {
|
||||||
process.env['INPUT_HUGO-VERSION'] = 'latest';
|
process.env['INPUT_HUGO-VERSION'] = 'latest';
|
||||||
nock('https://formulae.brew.sh')
|
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(404);
|
||||||
.get(`/api/formula/${Tool.Repo}.json`)
|
|
||||||
.reply(404);
|
|
||||||
|
|
||||||
await expect(main.run()).rejects.toThrowError(FetchError);
|
await expect(main.run()).rejects.toThrowError(FetchError);
|
||||||
});
|
});
|
||||||
@@ -91,8 +81,6 @@ describe('showVersion()', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('return not found', async () => {
|
test('return not found', async () => {
|
||||||
await expect(
|
await expect(main.showVersion('gitgit', ['--version'])).rejects.toThrowError(Error);
|
||||||
main.showVersion('gitgit', ['--version'])
|
|
||||||
).rejects.toThrowError(Error);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
7672
lib/index.js
7672
lib/index.js
File diff suppressed because it is too large
Load Diff
5818
package-lock.json
generated
5818
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
55
package.json
55
package.json
@@ -1,9 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "actions-hugo",
|
"name": "actions-hugo",
|
||||||
"version": "2.4.4",
|
"version": "2.4.13",
|
||||||
"description": "GitHub Actions for Hugo",
|
"description": "GitHub Actions for Hugo",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.14.1",
|
||||||
|
"npm": ">=6.13.7"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"all": "npm run format:check && npm run lint && npm test",
|
||||||
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
||||||
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
||||||
"test": "jest --coverage --verbose",
|
"test": "jest --coverage --verbose",
|
||||||
@@ -22,10 +27,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"src/**/*.ts": [
|
"{src,__tests__}/**/*.ts": [
|
||||||
"prettier --check",
|
"prettier --check",
|
||||||
"eslint",
|
"eslint"
|
||||||
"jest --bail --findRelatedTests"
|
],
|
||||||
|
"README.md": [
|
||||||
|
"npx doctoc@1.4.0 --github"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -47,29 +54,29 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.2",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/exec": "^1.0.3",
|
"@actions/exec": "^1.0.4",
|
||||||
"@actions/io": "^1.0.2",
|
"@actions/io": "^1.0.2",
|
||||||
"@actions/tool-cache": "^1.3.1",
|
"@actions/tool-cache": "^1.6.0",
|
||||||
"node-fetch": "^2.6.0"
|
"node-fetch": "^2.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^25.1.0",
|
"@types/jest": "^26.0.14",
|
||||||
"@types/node": "^13.5.0",
|
"@types/node": "~12",
|
||||||
"@types/node-fetch": "^2.5.4",
|
"@types/node-fetch": "^2.5.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^2.18.0",
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
||||||
"@typescript-eslint/parser": "^2.18.0",
|
"@typescript-eslint/parser": "^2.34.0",
|
||||||
"@zeit/ncc": "^0.21.0",
|
"@vercel/ncc": "^0.24.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-jest": "^23.6.0",
|
"eslint-plugin-jest": "^23.20.0",
|
||||||
"husky": "^4.2.1",
|
"husky": "^4.3.0",
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.5.4",
|
||||||
"jest-circus": "^25.1.0",
|
"jest-circus": "^26.5.1",
|
||||||
"lint-staged": "^10.0.3",
|
"lint-staged": "^10.4.0",
|
||||||
"nock": "^11.7.2",
|
"nock": "^13.0.4",
|
||||||
"prettier": "1.19.1",
|
"prettier": "2.1.2",
|
||||||
"standard-version": "^7.1.0",
|
"standard-version": "^9.0.0",
|
||||||
"ts-jest": "^25.0.0",
|
"ts-jest": "^25.5.1",
|
||||||
"typescript": "^3.7.5"
|
"typescript": "^3.9.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
10
release.sh
10
release.sh
@@ -3,8 +3,10 @@
|
|||||||
# fail on unset variables and command errors
|
# fail on unset variables and command errors
|
||||||
set -eu -o pipefail # -x: is for debugging
|
set -eu -o pipefail # -x: is for debugging
|
||||||
|
|
||||||
if [ "$(git branch --show-current)" != "master" ]; then
|
DEFAULT_BRANCH="main"
|
||||||
echo "$0: Current branch is not master" 1>&2
|
|
||||||
|
if [ "$(git branch --show-current)" != "${DEFAULT_BRANCH}" ]; then
|
||||||
|
echo "$0: Current branch is not ${DEFAULT_BRANCH}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -26,7 +28,7 @@ if [ "${res}" = "n" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git pull origin master
|
git pull origin "${DEFAULT_BRANCH}"
|
||||||
git tag -d v2 || true
|
git tag -d v2 || true
|
||||||
git pull origin --tags
|
git pull origin --tags
|
||||||
|
|
||||||
@@ -44,5 +46,5 @@ rm -rf ./lib
|
|||||||
git commit -m "chore(release): Remove build assets [skip ci]"
|
git commit -m "chore(release): Remove build assets [skip ci]"
|
||||||
|
|
||||||
TAG_NAME="v$(jq -r '.version' ./package.json)"
|
TAG_NAME="v$(jq -r '.version' ./package.json)"
|
||||||
git push origin master
|
git push origin "${DEFAULT_BRANCH}"
|
||||||
git push origin "${TAG_NAME}"
|
git push origin "${TAG_NAME}"
|
||||||
|
|||||||
@@ -12,11 +12,7 @@ export function getURL(org: string, repo: string, api: string): string {
|
|||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getLatestVersion(
|
export async function getLatestVersion(org: string, repo: string, api: string): Promise<string> {
|
||||||
org: string,
|
|
||||||
repo: string,
|
|
||||||
api: string
|
|
||||||
): Promise<string> {
|
|
||||||
const url = getURL(org, repo, api);
|
const url = getURL(org, repo, api);
|
||||||
const response = await fetch(url);
|
const response = await fetch(url);
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
export default function getURL(
|
export default function getURL(os: string, extended: string, version: string): string {
|
||||||
os: string,
|
|
||||||
extended: string,
|
|
||||||
version: string
|
|
||||||
): string {
|
|
||||||
const extendedStr = (extended: string): string => {
|
const extendedStr = (extended: string): string => {
|
||||||
if (extended === 'true') {
|
if (extended === 'true') {
|
||||||
return 'extended_';
|
return 'extended_';
|
||||||
|
|||||||
12
src/index.ts
12
src/index.ts
@@ -1,8 +1,10 @@
|
|||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import * as main from './main';
|
import * as main from './main';
|
||||||
|
|
||||||
try {
|
(async (): Promise<void> => {
|
||||||
main.run();
|
try {
|
||||||
} catch (e) {
|
await main.run();
|
||||||
core.setFailed(`Action failed with error ${e}`);
|
} catch (e) {
|
||||||
}
|
core.setFailed(`Action failed with error ${e.message}`);
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|||||||
@@ -59,16 +59,10 @@ export async function installer(version: string): Promise<void> {
|
|||||||
const toolAssets: string = await tc.downloadTool(toolURL);
|
const toolAssets: string = await tc.downloadTool(toolURL);
|
||||||
let toolBin = '';
|
let toolBin = '';
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
const toolExtractedFolder: string = await tc.extractZip(
|
const toolExtractedFolder: string = await tc.extractZip(toolAssets, tempDir);
|
||||||
toolAssets,
|
|
||||||
tempDir
|
|
||||||
);
|
|
||||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}.exe`;
|
toolBin = `${toolExtractedFolder}/${Tool.CmdName}.exe`;
|
||||||
} else {
|
} else {
|
||||||
const toolExtractedFolder: string = await tc.extractTar(
|
const toolExtractedFolder: string = await tc.extractTar(toolAssets, tempDir);
|
||||||
toolAssets,
|
|
||||||
tempDir
|
|
||||||
);
|
|
||||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}`;
|
toolBin = `${toolExtractedFolder}/${Tool.CmdName}`;
|
||||||
}
|
}
|
||||||
await io.mv(toolBin, binDir);
|
await io.mv(toolBin, binDir);
|
||||||
|
|||||||
@@ -9,10 +9,7 @@ export interface ActionResult {
|
|||||||
output: string;
|
output: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function showVersion(
|
export async function showVersion(cmd: string, args: string[]): Promise<ActionResult> {
|
||||||
cmd: string,
|
|
||||||
args: string[]
|
|
||||||
): Promise<ActionResult> {
|
|
||||||
const result: ActionResult = {
|
const result: ActionResult = {
|
||||||
exitcode: 0,
|
exitcode: 0,
|
||||||
output: ''
|
output: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user