Compare commits

..

No commits in common. "main" and "v3.5.8" have entirely different histories.
main ... v3.5.8

72 changed files with 7128 additions and 13191 deletions

30
.dependabot/config.yml Normal file
View File

@ -0,0 +1,30 @@
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
default_labels:
- "dependencies"
commit_message:
prefix: "deps"
automerged_updates:
- match:
dependency_type: "development"
# Supported dependency types:
# - "development"
# - "production"
# - "all"
update_type: "all"
# Supported updates to automerge:
# - "security:patch"
# SemVer patch update that fixes a known security vulnerability
# - "semver:patch"
# SemVer patch update, e.g. > 1.x && 1.0.1 to 1.0.3
# - "semver:minor"
# SemVer minor update, e.g. > 1.x && 2.1.4 to 2.3.1
# - "in_range"
# matching the version requirement in your package manifest
# - "all"
- match:
dependency_type: "production"
update_type: "semver:patch"

View File

@ -1,35 +0,0 @@
{
"name": "Node.js",
"image": "docker.pkg.github.com/peaceiris/actions-gh-pages/dev:latest",
// Use 'settings' to set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"bungcip.better-toml",
"EditorConfig.EditorConfig",
"donjayamanne.githistory",
"eamodio.gitlens",
"oderwat.indent-rainbow",
"yzhang.markdown-all-in-one",
"shd101wyy.markdown-preview-enhanced",
"christian-kohler.path-intellisense",
"lfs.vscode-emacs-friendly",
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"firsttris.vscode-jest-runner",
"VisualStudioExptTeam.vscodeintellicode"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [3000],
// Specifies a command that should be run after the container has been created.
"postCreateCommand": "npm ci",
// Comment out the next line to run as root instead.
// "remoteUser": "runner"
}

View File

@ -6,12 +6,10 @@
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended"
],
"plugins": ["@typescript-eslint"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"

View File

@ -0,0 +1,31 @@
---
name: User Support
about: Questions for this Action
title: 'sample_title'
labels: support
assignees: peaceiris
---
**Check list before opening this issue**
- [ ] I read the latest README
- I checked [Available Options](https://github.com/peaceiris/actions-gh-pages#options)
- I followed [Tips and FAQ](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.

View File

@ -1,52 +0,0 @@
name: User Support
description: Questions for this action
title: "support: "
labels: support
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: Describe your question
description: A clear and concise description of what the question is.
validations:
required: true
- type: textarea
attributes:
label: Relevant links
description:
Links to your public repository, YAML config file, and YAML workflow file.
Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch.
render: markdown
value: |
Public repository:
YAML config:
YAML workflow:
validations:
required: true
- type: textarea
attributes:
label: Relevant log output
description: Copy and paste any relevant log output here.
validations:
required: false
- type: textarea
attributes:
label: Additional context.
description: Write any other context about the question here.
validations:
required: false

31
.github/ISSUE_TEMPLATE/2_bug_report.md vendored Normal file
View File

@ -0,0 +1,31 @@
---
name: Bug Report
about: First, use the User Support Issue Template
title: 'sample_title'
labels: bug
assignees: peaceiris
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Your YAML file**
- A link to your repository
- A link to your YAML file
**Additional context**
Add any other context about the problem here.

View File

@ -1,52 +0,0 @@
name: Bug Report
description: Try the User Support Issue Template first.
title: 'bug: '
labels: bug
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: "Describe the bug"
description: "A clear and concise description of what the bug is."
validations:
required: true
- type: textarea
attributes:
label: Relevant links
description:
Links to your public repository, YAML config file, and YAML workflow file.
Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch.
render: markdown
value: |
Public repository:
YAML config:
YAML workflow:
validations:
required: true
- type: textarea
attributes:
label: Relevant log output
description: Copy and paste any relevant log output here.
validations:
required: false
- type: textarea
attributes:
label: Additional context.
description: Write any other context about the question here.
validations:
required: false

20
.github/ISSUE_TEMPLATE/3_proposal.md vendored Normal file
View File

@ -0,0 +1,20 @@
---
name: Proposal
about: Suggest an idea for this project
title: 'sample_title'
labels: proposal
assignees: peaceiris
---
**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 [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,45 +0,0 @@
name: Proposal
description: Suggest an idea for this project
title: 'proposal: '
labels: proposal
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: "Describe your proposal"
description: "A clear and concise description of what the proposal is."
validations:
required: true
- type: textarea
attributes:
label: "Describe the solution you'd like"
description: "A clear and concise description of what you want to happen."
validations:
required: true
- type: textarea
attributes:
label: "Describe alternatives you've considered"
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: false
- type: textarea
attributes:
label: "Additional context"
description: "Add any other context or screenshots about the feature request here."
validations:
required: false

View File

@ -1,14 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/peaceiris/actions-gh-pages/discussions
about: Ask casual questions or share your story about the GitHub Pages Action.
- name: GitHub Actions - GitHub Support Community Forum
url: https://github.community/c/code-to-cloud/github-actions/41
- name: GitHub Actions Community Forum
url: https://github.community/t5/GitHub-Actions/bd-p/actions
about: Please ask questions about GitHub Actions here.
- name: GitHub Pages Documentation
url: https://docs.github.com/en/pages
about: GitHub Pages official documentation here.
url: https://help.github.com/en/github/working-with-github-pages
about: GitHub Pages official documentaion here.
- name: GitHub Actions Documentation
url: https://docs.github.com/en/actions
about: GitHub Actions official documentation here.
url: https://help.github.com/en/actions
about: GitHub Actions official documentaion here.

View File

@ -1,36 +0,0 @@
labels:
- name: resolved
labeled:
issue:
body: |
This issue has been **LOCKED** because of it being resolved!
The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.
action: close
locking: lock
lock_reason: resolved
- name: inactive
labeled:
issue:
body: |
This issue has been marked as inactive.
If you still encounter this or it has changed, add a comment to provide further information.
- name: stale
labeled:
issue:
body: |
This issue has been **LOCKED** because of it being old.
If you still encounter this or it has changed, open a new issue.
action: close
locking: lock
lock_reason: resolved
- name: duplicate
labeled:
issue:
body: |
This issue has been closed because of duplication.
action: close
locking: lock
lock_reason: resolved

20
.github/labeler.yml vendored
View File

@ -1,20 +0,0 @@
cicd:
- .github/workflows/*
dependencies:
- .nvmrc
- package.json
- package-lock.json
documentation:
- README.md
test:
- __tests__
docker:
- .devcontainer/*
- .dockerignore
- Dockerfile
- Makefile
- docker-compose.yml

View File

@ -1,24 +0,0 @@
name: "Code Scanning"
on:
push:
branches:
- main
pull_request:
jobs:
CodeQL-Build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

View File

@ -1,16 +0,0 @@
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on:
pull_request:
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4

37
.github/workflows/dev-image.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: 'Dev Image CI'
on:
push:
branches:
- master
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

View File

@ -1,27 +0,0 @@
name: Label Commenter
on:
issues:
types:
- labeled
- unlabeled
pull_request_target:
types:
- labeled
- unlabeled
permissions:
contents: read
issues: write
pull-requests: write
jobs:
comment:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
env:
RUNNER_DEBUG: 1

View File

@ -1,22 +0,0 @@
name: "Pull Request Labeler"
on:
pull_request_target:
jobs:
triage:
runs-on: ubuntu-22.04
timeout-minutes: 1
permissions: {}
steps:
# https://github.com/peaceiris/actions-github-app-token
- uses: peaceiris/actions-github-app-token@v1.1.6
id: app
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
# https://github.com/actions/labeler
- uses: actions/labeler@v4
with:
repo-token: "${{ steps.app.outputs.token }}"

View File

@ -4,7 +4,7 @@ on: page_build
jobs:
pages-status-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-18.04
steps:
- name: check status
run: |

View File

@ -3,11 +3,10 @@ name: Purge image cache
on:
schedule:
- cron: '54 18 * * */7'
workflow_dispatch:
jobs:
purge:
runs-on: ubuntu-22.04
runs-on: ubuntu-18.04
steps:
- run: >

View File

@ -7,10 +7,30 @@ on:
jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v4
# https://github.com/peaceiris/workflows/blob/main/create-release-npm/action.yml
- uses: peaceiris/workflows/create-release-npm@v0.20.1
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "${GITHUB_CONTEXT}"
- name: Install github/hub
run: |
export HUB_VERSION="2.14.2"
curl -fsSL https://github.com/github/hub/raw/8d91904208171b013f9a9d1175f4ab39068db047/script/get | bash -s "${HUB_VERSION}"
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG_NAME="${GITHUB_REF##refs/tags/}"
echo "See [CHANGELOG.md](https://github.com/${GITHUB_REPOSITORY}/blob/${TAG_NAME}/CHANGELOG.md) for more details." > ./release_notes.md
RELEASE_NAME="$(jq -r '.name' ./package.json)"
sed -i "1i${RELEASE_NAME} ${TAG_NAME}\n" ./release_notes.md
./bin/hub release create \
--draft \
--prerelease \
--file ./release_notes.md \
"${TAG_NAME}"

View File

@ -3,35 +3,49 @@ name: 'Test'
on:
push:
branches:
- main
- master
paths-ignore:
- '*.md'
pull_request:
types:
- opened
- synchronize
paths-ignore:
- '*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
skipci:
runs-on: ubuntu-18.04
steps:
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
test:
runs-on: ${{ matrix.os }}
if: contains(github.event.head_commit.message, '[skip ci]') == false
strategy:
matrix:
os:
- 'ubuntu-22.04'
- 'ubuntu-20.04'
- 'ubuntu-latest'
- 'ubuntu-18.04'
- 'macos-latest'
- 'windows-latest'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- uses: peaceiris/workflows/setup-node@v0.20.1
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "${GITHUB_CONTEXT}"
- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version-file: ".nvmrc"
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- run: npm i -g npm
- name: Dump version
run: |
@ -39,63 +53,56 @@ jobs:
npm --version
git --version
- run: npm ci --ignore-scripts
- name: npm audit
if: startsWith(matrix.os, 'ubuntu-22.04')
run: |
npm audit > ./audit.log || true
if ! [ "$(cat ./audit.log | wc -l)" = 1 ]; then
echo "::warning::$(cat ./audit.log)"
fi
rm ./audit.log
- run: npm ci
- name: Run prettier
if: startsWith(matrix.os, 'ubuntu-22.04')
if: startsWith(matrix.os, 'ubuntu')
run: npm run format:check
- name: Run eslint
if: startsWith(matrix.os, 'ubuntu-22.04')
if: startsWith(matrix.os, 'ubuntu')
run: npm run lint
- run: npm test
- name: Upload test coverage as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v1
with:
name: coverage-${{ matrix.os }}
name: coverage
path: coverage
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run ncc
run: npm run build
- name: Remove lint-staged husky
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/master'
run: |
npm uninstall lint-staged husky
git checkout package-lock.json package.json
- name: Setup mdBook
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-mdbook@v1.2.0
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.5'
mdbook-version: '0.3.6'
- name: Build site
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/master'
working-directory: ./test_projects/mdbook
run: mdbook build
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-latest') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
startsWith(matrix.os, 'ubuntu') &&
github.ref == 'refs/heads/master'
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_branch: gh-pages
publish_dir: ./test_projects/mdbook/book
# external_repository: ''
@ -110,7 +117,7 @@ jobs:
- name: Deploy
if: |
startsWith(matrix.os, 'macos') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
github.ref == 'refs/heads/master'
uses: ./
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@ -129,7 +136,7 @@ jobs:
- name: Deploy
if: |
startsWith(matrix.os, 'windows') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
github.ref == 'refs/heads/master'
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@ -144,39 +151,3 @@ jobs:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# commit_message: ${{ github.event.head_commit.message }}
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-20.04') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages-ubuntu-20.04
publish_dir: ./test_projects/mdbook/book
# external_repository: ''
allow_empty_commit: true
# keep_files: true
# force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# commit_message: ${{ github.event.head_commit.message }}
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-22.04') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages-ubuntu-22.04
publish_dir: ./test_projects/mdbook/book
# external_repository: ''
allow_empty_commit: true
# keep_files: true
# force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# commit_message: ${{ github.event.head_commit.message }}

View File

@ -2,21 +2,22 @@ name: Update major tag
on:
release:
types: [released]
types: [published]
jobs:
update:
runs-on: ubuntu-22.04
timeout-minutes: 1
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v4
- name: Update major tag
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
export TAG_NAME="${GITHUB_REF##refs/tags/}"
export TAG_MAJOR="${TAG_NAME%%.*}"
git tag --force -a "${TAG_MAJOR}" -m "Release ${TAG_NAME}"
git push --force origin "${TAG_MAJOR}"
- uses: actions/checkout@v2
- name: Update major tag
if: github.event.release.prerelease == false
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
export TAG_NAME="${GITHUB_REF##refs/tags/}"
export TAG_MAJOR="${TAG_NAME%%.*}"
git tag --force -a "${TAG_MAJOR}" -m "Release ${TAG_NAME}"
git push --force origin "${TAG_MAJOR}"

1
.husky/.gitignore vendored
View File

@ -1 +0,0 @@
_

View File

@ -1,2 +0,0 @@
npm install
git remote prune origin

View File

@ -1 +0,0 @@
npx lint-staged

2
.nvmrc
View File

@ -1 +1 @@
20.11.1
12.16.2

View File

@ -1,2 +0,0 @@
node_modules/
lib/

View File

@ -1,5 +1,5 @@
{
"printWidth": 100,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,

1
.vscode/.gitignore vendored
View File

@ -1 +0,0 @@
*.log

View File

@ -1,4 +1,3 @@
{
"git.ignoreLimitWarning": true,
"deno.enable": false
"git.ignoreLimitWarning": true
}

View File

@ -2,865 +2,6 @@
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.
# [4.0.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0) (2024-04-08)
### build
* node 20.11.1 ([5049354](https://github.com/peaceiris/actions-gh-pages/commit/5049354438ced05ab8a5da89ef20fd8efff107c7))
### chore
* bump node16 to node20 (#1067) ([4eb285e](https://github.com/peaceiris/actions-gh-pages/commit/4eb285e828117bca26638192c3ed309c622e7bad)), closes [#1067](https://github.com/peaceiris/actions-gh-pages/issues/1067)
* downgrade engines.npm to 8.0.0 ([87231bc](https://github.com/peaceiris/actions-gh-pages/commit/87231bc03a428df52f90a00b3b9e6bef82f7daf9))
### ci
* pin node-version to 18 (#981) ([65ebf11](https://github.com/peaceiris/actions-gh-pages/commit/65ebf11929c082120c54719c87069f0827d2084c)), closes [#981](https://github.com/peaceiris/actions-gh-pages/issues/981)
### docs
* add Release Strategy ([67f80d9](https://github.com/peaceiris/actions-gh-pages/commit/67f80d94a1668353e4733223685dcb84340c44b5))
* fix link to Nuxt github-pages (#980) ([88b4d2a](https://github.com/peaceiris/actions-gh-pages/commit/88b4d2aa927893f8976712406df9928468be3c88)), closes [#980](https://github.com/peaceiris/actions-gh-pages/issues/980)
* remove braces in if conditions (#920) ([0fbd122](https://github.com/peaceiris/actions-gh-pages/commit/0fbd12244217a1fa04396b8a52d911a436893771)), closes [#920](https://github.com/peaceiris/actions-gh-pages/issues/920)
## [3.9.3](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v3.9.3) (2023-03-30)
### docs
* fix typo, bump hugo version (#851) ([884a022](https://github.com/peaceiris/actions-gh-pages/commit/884a0224fd48faeb3bde89519e9d612d0585a679)), closes [#851](https://github.com/peaceiris/actions-gh-pages/issues/851)
### fix
* fix error handling (#841) ([32e33dc](https://github.com/peaceiris/actions-gh-pages/commit/32e33dcd3ae1d0cf56ac5a88267de6cbf0359353)), closes [#841](https://github.com/peaceiris/actions-gh-pages/issues/841)
* update known_hosts (#871) ([31c15f0](https://github.com/peaceiris/actions-gh-pages/commit/31c15f03292ac100ae41a50fd3055e00d1b11a32)), closes [#871](https://github.com/peaceiris/actions-gh-pages/issues/871)
## [3.9.2](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.1...v3.9.2) (2023-01-17)
### chore
* rename cicd ([32c9288](https://github.com/peaceiris/actions-gh-pages/commit/32c9288f553bbcbf66869cf553c82754431faf03))
* replace npm ci with install ([9839780](https://github.com/peaceiris/actions-gh-pages/commit/983978086a87d25a1ff678aa1ef4c2acc413784a))
### ci
* add github-actions npm ([5e5dc6d](https://github.com/peaceiris/actions-gh-pages/commit/5e5dc6d02eeb18001e0a7af6d6fcbabd4fd9e2b7))
* enable automerge ([dd7d778](https://github.com/peaceiris/actions-gh-pages/commit/dd7d77895818fd15ebecf20b6bf76028d377e1b6))
* remove dependabot ([7af79a8](https://github.com/peaceiris/actions-gh-pages/commit/7af79a873e9c2b6c37690db94012342fdb90914a))
* remove enabledManagers ([cba22ba](https://github.com/peaceiris/actions-gh-pages/commit/cba22ba760f1c7e62c9ae43167ea68ca9de56506))
* use peaceiris/workflows/setup-node 0.19.1 (#818) ([416f539](https://github.com/peaceiris/actions-gh-pages/commit/416f539fb4263ec46f9bbee251e87cfeae9f85ff)), closes [#818](https://github.com/peaceiris/actions-gh-pages/issues/818)
### deps
* apply npm audit fix (#809) ([e3aa46d](https://github.com/peaceiris/actions-gh-pages/commit/e3aa46d23bbf7f669a6d92c15dda089b2edf4959)), closes [#809](https://github.com/peaceiris/actions-gh-pages/issues/809)
## [3.9.1](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.0...v3.9.1) (2023-01-05)
### chore
* change cicd label name ([1808965](https://github.com/peaceiris/actions-gh-pages/commit/180896524151a5634ff5815a72c59467fc27c874))
### ci
* add Renovate config (#802) ([072d16c](https://github.com/peaceiris/actions-gh-pages/commit/072d16c439270cd3a36c3e0977ccbe10f2b2bc55)), closes [#802](https://github.com/peaceiris/actions-gh-pages/issues/802)
* bump actions/dependency-review-action from 2 to 3 (#799) ([e3b45f2](https://github.com/peaceiris/actions-gh-pages/commit/e3b45f27007dc55bcdd52f01e38af6f61576ec7f)), closes [#799](https://github.com/peaceiris/actions-gh-pages/issues/799)
* bump peaceiris/actions-github-app-token from 1.1.4 to 1.1.5 (#798) ([a5f971f](https://github.com/peaceiris/actions-gh-pages/commit/a5f971f112fd50b6dd28469f23be2618b1ea87e7)), closes [#798](https://github.com/peaceiris/actions-gh-pages/issues/798)
* bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (#793) ([9af6a68](https://github.com/peaceiris/actions-gh-pages/commit/9af6a68dde7720af8fd55364c2c637ca5922a879)), closes [#793](https://github.com/peaceiris/actions-gh-pages/issues/793)
* bump peaceiris/workflows from 0.17.1 to 0.17.2 (#794) ([087a759](https://github.com/peaceiris/actions-gh-pages/commit/087a759f907a127fdee23c8994321ff96f7d9430)), closes [#794](https://github.com/peaceiris/actions-gh-pages/issues/794)
* bump peaceiris/workflows from 0.17.2 to 0.18.1 (#806) ([f94667a](https://github.com/peaceiris/actions-gh-pages/commit/f94667a25cd2716a8a046111457e4b17c8c28407)), closes [#806](https://github.com/peaceiris/actions-gh-pages/issues/806)
### deps
* bump @actions/github from 5.0.1 to 5.1.1 (#785) ([679dbf0](https://github.com/peaceiris/actions-gh-pages/commit/679dbf02f69022f8c402975fdefe41ddb31516cd)), closes [#785](https://github.com/peaceiris/actions-gh-pages/issues/785)
* bump @actions/glob from 0.2.1 to 0.3.0 (#735) ([25b12e2](https://github.com/peaceiris/actions-gh-pages/commit/25b12e2a24490dbc96aa0d5201e94b1b4cca7fb0)), closes [#735](https://github.com/peaceiris/actions-gh-pages/issues/735)
* bump minimatch from 3.0.4 to 3.1.2 (#807) ([2f463a5](https://github.com/peaceiris/actions-gh-pages/commit/2f463a5ad59a66a5a83e0f072f6d556898e6cc9e)), closes [#807](https://github.com/peaceiris/actions-gh-pages/issues/807)
### docs
* replace deprecated set-output (#800) ([7166f2c](https://github.com/peaceiris/actions-gh-pages/commit/7166f2caa423717780ff24040f0163cbe511c18c)), closes [#800](https://github.com/peaceiris/actions-gh-pages/issues/800)
# [3.9.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.8.0...v3.9.0) (2022-10-23)
### chore
* add duplicate ([402af2b](https://github.com/peaceiris/actions-gh-pages/commit/402af2bd613bf17a0f737722b22787423732ebb8))
* Convert templates to YAML issue forms ([ecd92e3](https://github.com/peaceiris/actions-gh-pages/commit/ecd92e3bae20b0f2c3ea11ce7b30b25840eabd4e))
* Disable Bug Report ([55635e9](https://github.com/peaceiris/actions-gh-pages/commit/55635e91933d51b0d6c3a575897a7b5a3704f386))
* Fix prettier (#633) ([fde6b18](https://github.com/peaceiris/actions-gh-pages/commit/fde6b1864d7ae561229e5dc3e55ef29322b35c48)), closes [#633](https://github.com/peaceiris/actions-gh-pages/issues/633)
* fix title ([b5022f9](https://github.com/peaceiris/actions-gh-pages/commit/b5022f987516e69c177b0b457fb5514ea10d2a67))
* Fix workflow name ([e91a189](https://github.com/peaceiris/actions-gh-pages/commit/e91a189d4cb8222e581d2871ef437880f2333b9b))
* fix year ([f2ac8b6](https://github.com/peaceiris/actions-gh-pages/commit/f2ac8b62c4b599b6654590f0b7a1161703fc91b4))
* improve Check list ([6a30129](https://github.com/peaceiris/actions-gh-pages/commit/6a30129b5b88d0a390c34ed3629d6cf573bbbb1f))
* Improve checklist ([69f1241](https://github.com/peaceiris/actions-gh-pages/commit/69f124149567d87a17c55cae5abe231ce44ce07e))
* Set required to false ([d7ab6de](https://github.com/peaceiris/actions-gh-pages/commit/d7ab6dea490c8d393a652c34d5f44e2d0708914d))
* Set required to false ([e8cba38](https://github.com/peaceiris/actions-gh-pages/commit/e8cba386c2fbcf55a8eeca1302315b6b41bb7fe9))
* update year from 2020 to 2022 ([f1f4f15](https://github.com/peaceiris/actions-gh-pages/commit/f1f4f153975a491040d838fda56646f9edafc879))
### ci
* add actions/dependency-review-action ([3cc0a55](https://github.com/peaceiris/actions-gh-pages/commit/3cc0a55ff58aefa21874876c91f4f2ffb6103453))
* Add concurrency ([edb4f3e](https://github.com/peaceiris/actions-gh-pages/commit/edb4f3effe03cbd1386d11970f751c732c9a26c3))
* bump actions/checkout from 2 to 2.3.4 (#610) ([3102151](https://github.com/peaceiris/actions-gh-pages/commit/3102151215f6d7a76df4018f0af0a9699ed3f336)), closes [#610](https://github.com/peaceiris/actions-gh-pages/issues/610)
* bump actions/checkout from 2.3.4 to 2.3.5 (#664) ([b19f8b8](https://github.com/peaceiris/actions-gh-pages/commit/b19f8b8110dcb0217ae6e766038e0866e939324a)), closes [#664](https://github.com/peaceiris/actions-gh-pages/issues/664)
* bump actions/checkout from 2.3.5 to 2.4.0 (#668) ([d3d121d](https://github.com/peaceiris/actions-gh-pages/commit/d3d121d59436b77f95d88db13058d9752f43bc92)), closes [#668](https://github.com/peaceiris/actions-gh-pages/issues/668)
* bump actions/checkout from 2.4.0 to 3 (#715) ([c921422](https://github.com/peaceiris/actions-gh-pages/commit/c921422e3791023a8dd39566a129863ff42e8c39)), closes [#715](https://github.com/peaceiris/actions-gh-pages/issues/715)
* bump actions/dependency-review-action from 1 to 2 (#762) ([1304921](https://github.com/peaceiris/actions-gh-pages/commit/1304921c60d95a91f76f5fea0ce500280f4a6702)), closes [#762](https://github.com/peaceiris/actions-gh-pages/issues/762)
* bump actions/labeler from 3 to 4 (#716) ([7954f3d](https://github.com/peaceiris/actions-gh-pages/commit/7954f3d89e7814f3c77e0a9707d8de64fa600d5a)), closes [#716](https://github.com/peaceiris/actions-gh-pages/issues/716)
* bump actions/setup-node from 2.1.5 to 2.2.0 (#626) ([3edcc53](https://github.com/peaceiris/actions-gh-pages/commit/3edcc53d62040dee889598eda219c09c8062ef79)), closes [#626](https://github.com/peaceiris/actions-gh-pages/issues/626)
* bump actions/setup-node from 2.2.0 to 2.3.0 (#632) ([69191bf](https://github.com/peaceiris/actions-gh-pages/commit/69191bfb1c07687489d4ff7f67a14fb86f84fd2f)), closes [#632](https://github.com/peaceiris/actions-gh-pages/issues/632)
* bump actions/setup-node from 2.3.0 to 2.3.1 (#636) ([d5e7428](https://github.com/peaceiris/actions-gh-pages/commit/d5e742835946ed1f76c9c8b90c85cac1b034aca0)), closes [#636](https://github.com/peaceiris/actions-gh-pages/issues/636)
* bump actions/setup-node from 2.3.1 to 2.3.2 (#637) ([4a55c45](https://github.com/peaceiris/actions-gh-pages/commit/4a55c4533bc63bcf8bc0388e5b77b55dace1c4df)), closes [#637](https://github.com/peaceiris/actions-gh-pages/issues/637)
* bump actions/setup-node from 2.3.2 to 2.4.0 (#639) ([288fd14](https://github.com/peaceiris/actions-gh-pages/commit/288fd146896a5e9bca7819627bfca4858c4f61e7)), closes [#639](https://github.com/peaceiris/actions-gh-pages/issues/639)
* bump actions/setup-node from 2.4.0 to 2.4.1 (#656) ([52f1a50](https://github.com/peaceiris/actions-gh-pages/commit/52f1a5023a0458aead16313edf670ba9bbf9a543)), closes [#656](https://github.com/peaceiris/actions-gh-pages/issues/656)
* bump actions/setup-node from 2.4.1 to 2.5.0 (#673) ([88eb3e4](https://github.com/peaceiris/actions-gh-pages/commit/88eb3e4384e4b20352f7a2e9261af42478cbc4f1)), closes [#673](https://github.com/peaceiris/actions-gh-pages/issues/673)
* bump actions/setup-node from 2.5.0 to 2.5.1 (#689) ([127e2d7](https://github.com/peaceiris/actions-gh-pages/commit/127e2d7a36a613d271c3724758462936d9ed28f1)), closes [#689](https://github.com/peaceiris/actions-gh-pages/issues/689)
* bump actions/setup-node from 2.5.1 to 3 (#713) ([c188bee](https://github.com/peaceiris/actions-gh-pages/commit/c188bee6f9a10aa5cdd8f736310d7184685b7294)), closes [#713](https://github.com/peaceiris/actions-gh-pages/issues/713)
* bump actions/upload-artifact from 2 to 3 (#732) ([fb2c292](https://github.com/peaceiris/actions-gh-pages/commit/fb2c292cba55a2fbfcf55daec80ead70af7a5cab)), closes [#732](https://github.com/peaceiris/actions-gh-pages/issues/732)
* bump codecov/codecov-action from 1.5.0 to 1.5.2 (#622) ([3087a34](https://github.com/peaceiris/actions-gh-pages/commit/3087a3437ec05a3aa32755d702e39988df5f050c)), closes [#622](https://github.com/peaceiris/actions-gh-pages/issues/622)
* bump codecov/codecov-action from 1.5.2 to 2.0.1 (#631) ([90e01d5](https://github.com/peaceiris/actions-gh-pages/commit/90e01d5ddd49e6acc3c5dbbc8fc5ca44d5e94c18)), closes [#631](https://github.com/peaceiris/actions-gh-pages/issues/631)
* bump codecov/codecov-action from 2.0.1 to 2.0.2 (#634) ([d4b79ae](https://github.com/peaceiris/actions-gh-pages/commit/d4b79aef1f0c91d1f3ff0d56f9381f0a641250bd)), closes [#634](https://github.com/peaceiris/actions-gh-pages/issues/634)
* bump codecov/codecov-action from 2.0.2 to 2.0.3 (#646) ([e363e57](https://github.com/peaceiris/actions-gh-pages/commit/e363e5795952b51cd27dbe2d68db69292fd55fc6)), closes [#646](https://github.com/peaceiris/actions-gh-pages/issues/646)
* bump codecov/codecov-action from 2.0.3 to 2.1.0 (#655) ([40515c6](https://github.com/peaceiris/actions-gh-pages/commit/40515c605bdba1b1c5abd35066424bb2b4cfd846)), closes [#655](https://github.com/peaceiris/actions-gh-pages/issues/655)
* bump codecov/codecov-action from 2.1.0 to 3 (#729) ([1226087](https://github.com/peaceiris/actions-gh-pages/commit/12260875478175738e8a4e11917dcb2849b3ff23)), closes [#729](https://github.com/peaceiris/actions-gh-pages/issues/729)
* bump codecov/codecov-action from v1.3.1 to v1.3.2 (#594) ([1d0fa1a](https://github.com/peaceiris/actions-gh-pages/commit/1d0fa1a6443b47197e1446b8282191253a196530)), closes [#594](https://github.com/peaceiris/actions-gh-pages/issues/594)
* bump codecov/codecov-action from v1.3.2 to v1.4.0 (#602) ([b4ccfe8](https://github.com/peaceiris/actions-gh-pages/commit/b4ccfe80a698a88dbbef5d3d8a6dcc4adc422f18)), closes [#602](https://github.com/peaceiris/actions-gh-pages/issues/602)
* bump codecov/codecov-action from v1.4.0 to v1.4.1 (#604) ([e2a2646](https://github.com/peaceiris/actions-gh-pages/commit/e2a264646bcff750b77fc6689694f32cae152aa2)), closes [#604](https://github.com/peaceiris/actions-gh-pages/issues/604)
* bump codecov/codecov-action from v1.4.1 to v1.5.0 (#607) ([a22219e](https://github.com/peaceiris/actions-gh-pages/commit/a22219e8e4d436ca0c8fc5a596ef4fdb7f97558a)), closes [#607](https://github.com/peaceiris/actions-gh-pages/issues/607)
* bump github/codeql-action from 1 to 2 (#739) ([cf3948a](https://github.com/peaceiris/actions-gh-pages/commit/cf3948a236ac5ad9e3f5df020549e65351a99405)), closes [#739](https://github.com/peaceiris/actions-gh-pages/issues/739)
* bump peaceiris/workflows from 0.10.0 to 0.11.0 (#659) ([40737e1](https://github.com/peaceiris/actions-gh-pages/commit/40737e192d8ba20d11cb5e49ef4927a6bc67afd7)), closes [#659](https://github.com/peaceiris/actions-gh-pages/issues/659)
* bump peaceiris/workflows from 0.11.0 to 0.12.0 (#733) ([8a7e1fb](https://github.com/peaceiris/actions-gh-pages/commit/8a7e1fb6f4e3a35650f6e4d1d6b6e4229c790c4e)), closes [#733](https://github.com/peaceiris/actions-gh-pages/issues/733)
* bump peaceiris/workflows from 0.12.0 to 0.13.0 (#734) ([d4f052f](https://github.com/peaceiris/actions-gh-pages/commit/d4f052f1e85947a8cd4ac8833732054ff679e836)), closes [#734](https://github.com/peaceiris/actions-gh-pages/issues/734)
* bump peaceiris/workflows from 0.13.0 to 0.14.1 (#737) ([a762c3e](https://github.com/peaceiris/actions-gh-pages/commit/a762c3ec5466ae6e139e8043c62e09821ae2a3b6)), closes [#737](https://github.com/peaceiris/actions-gh-pages/issues/737)
* bump peaceiris/workflows from 0.14.1 to 0.15.0 (#751) ([da39891](https://github.com/peaceiris/actions-gh-pages/commit/da398914f7ffa06319c73b35e7d0e60283e1786f)), closes [#751](https://github.com/peaceiris/actions-gh-pages/issues/751)
* bump peaceiris/workflows from 0.15.0 to 0.16.0 (#766) ([05d272d](https://github.com/peaceiris/actions-gh-pages/commit/05d272de6c06158771c3e91ba690aaaabc0c416f)), closes [#766](https://github.com/peaceiris/actions-gh-pages/issues/766)
* bump peaceiris/workflows from 0.16.0 to 0.17.1 (#789) ([2c04d6b](https://github.com/peaceiris/actions-gh-pages/commit/2c04d6b59558dd2c0d7336b3a26ab87eb56cad7b)), closes [#789](https://github.com/peaceiris/actions-gh-pages/issues/789)
* bump peaceiris/workflows from 0.8.1 to 0.10.0 (#648) ([d936c20](https://github.com/peaceiris/actions-gh-pages/commit/d936c202377d434c7b787da447a5a043b6da5735)), closes [#648](https://github.com/peaceiris/actions-gh-pages/issues/648)
* Change trigger from published to released ([8f8bc46](https://github.com/peaceiris/actions-gh-pages/commit/8f8bc4611ef68a977630fc082434ff8f70fdb0b8))
* Drop ubuntu-16.04 (#606) ([b8eb1ae](https://github.com/peaceiris/actions-gh-pages/commit/b8eb1aeda400e0971c07694c7b453878ceb0ade9)), closes [#606](https://github.com/peaceiris/actions-gh-pages/issues/606)
* drop ubuntu-18.04, add 22.04, latest (#776) ([2eea5d7](https://github.com/peaceiris/actions-gh-pages/commit/2eea5d7a12ebcecf9d96a638de7649164fafddeb)), closes [#776](https://github.com/peaceiris/actions-gh-pages/issues/776)
* Improve step filters (#629) ([063f7de](https://github.com/peaceiris/actions-gh-pages/commit/063f7de6c4a7b149041a1d6a125a4827088fec76)), closes [#629](https://github.com/peaceiris/actions-gh-pages/issues/629)
* Install actions-label-commenter" ([c618621](https://github.com/peaceiris/actions-gh-pages/commit/c618621f202f2c120cbe3c57dd88742d723d317a))
* update contact_links ([183add1](https://github.com/peaceiris/actions-gh-pages/commit/183add1cc50764f1b3e36a73b14aa5b872fb55c4))
* use actions-github-app-token ([2bef62f](https://github.com/peaceiris/actions-gh-pages/commit/2bef62f8180c000cd3b5bf97e30f4cdde119adfb))
### deps
* bump @actions/core from 1.2.6 to 1.2.7 (#600) ([2d4d4fc](https://github.com/peaceiris/actions-gh-pages/commit/2d4d4fccc0e5d896442917c9849e18d9f20fa281)), closes [#600](https://github.com/peaceiris/actions-gh-pages/issues/600)
* bump @actions/core from 1.2.7 to 1.5.0 (#645) ([eb802f3](https://github.com/peaceiris/actions-gh-pages/commit/eb802f35cef88815ea66bf8a1d814c17b76a4f9b)), closes [#645](https://github.com/peaceiris/actions-gh-pages/issues/645)
* bump @actions/core from 1.5.0 to 1.6.0 (#657) ([150e20f](https://github.com/peaceiris/actions-gh-pages/commit/150e20f82d11c22282e9f1e2a5cc359d2f82dbf8)), closes [#657](https://github.com/peaceiris/actions-gh-pages/issues/657)
* bump @actions/exec from 1.0.4 to 1.1.0 (#618) ([4af0044](https://github.com/peaceiris/actions-gh-pages/commit/4af0044e5e4653b89affac033e933686da069ba4)), closes [#618](https://github.com/peaceiris/actions-gh-pages/issues/618)
* bump @actions/exec from 1.1.0 to 1.1.1 (#720) ([2fa2322](https://github.com/peaceiris/actions-gh-pages/commit/2fa23228a53288d3f0ca14e75fc96b8a57c69cd7)), closes [#720](https://github.com/peaceiris/actions-gh-pages/issues/720)
* bump @actions/github from 4.0.0 to 5.0.0 (#612) ([f29aeb9](https://github.com/peaceiris/actions-gh-pages/commit/f29aeb91b3a56926b6d8446b979dd7efd18469e3)), closes [#612](https://github.com/peaceiris/actions-gh-pages/issues/612)
* bump @actions/github from 5.0.0 to 5.0.1 (#728) ([46202b8](https://github.com/peaceiris/actions-gh-pages/commit/46202b81182827d66f204f83b88dbcca631ee7a7)), closes [#728](https://github.com/peaceiris/actions-gh-pages/issues/728)
* bump @actions/glob from 0.1.1 to 0.2.0 (#620) ([f34f14a](https://github.com/peaceiris/actions-gh-pages/commit/f34f14adb0e1a50b3983571105e6ac38f0d30e88)), closes [#620](https://github.com/peaceiris/actions-gh-pages/issues/620)
* bump @actions/glob from 0.2.0 to 0.2.1 (#721) ([c006717](https://github.com/peaceiris/actions-gh-pages/commit/c006717cf0bd938969390db21de9e6e3bcb288c0)), closes [#721](https://github.com/peaceiris/actions-gh-pages/issues/721)
* bump @actions/io from 1.0.2 to 1.1.0 (#593) ([95ad034](https://github.com/peaceiris/actions-gh-pages/commit/95ad0343aae5b0a6a544c821536c60debaede606)), closes [#593](https://github.com/peaceiris/actions-gh-pages/issues/593)
* bump @actions/io from 1.1.0 to 1.1.1 (#619) ([2c9f853](https://github.com/peaceiris/actions-gh-pages/commit/2c9f8534d24589a01ba8864bf6f00650b9bf6367)), closes [#619](https://github.com/peaceiris/actions-gh-pages/issues/619)
* bump @actions/io from 1.1.1 to 1.1.2 (#722) ([2b83a4b](https://github.com/peaceiris/actions-gh-pages/commit/2b83a4b24b0a7aee7d10ff3c5c86e441a0cd1909)), closes [#722](https://github.com/peaceiris/actions-gh-pages/issues/722)
* bump @types/shelljs from 0.8.8 to 0.8.9 (#654) ([7ea9100](https://github.com/peaceiris/actions-gh-pages/commit/7ea91005e5963e68314f681d72b17fde3e8a131a)), closes [#654](https://github.com/peaceiris/actions-gh-pages/issues/654)
* bump @types/shelljs from 0.8.9 to 0.8.11 (#693) ([2e09f80](https://github.com/peaceiris/actions-gh-pages/commit/2e09f809f83350b8a3d4f26dbb0e2e0721199225)), closes [#693](https://github.com/peaceiris/actions-gh-pages/issues/693)
* bump minimist from 1.2.5 to 1.2.6 (#726) ([4403b8b](https://github.com/peaceiris/actions-gh-pages/commit/4403b8b8f3d8f441c442ae9b93fe5fba9f5c1968)), closes [#726](https://github.com/peaceiris/actions-gh-pages/issues/726)
* Bump node from 12.21.0 to 12.22.0 (#592) ([2decf4e](https://github.com/peaceiris/actions-gh-pages/commit/2decf4e752abab9095efc5ace22a0e92ae2e6fec)), closes [#592](https://github.com/peaceiris/actions-gh-pages/issues/592)
* Bump node from 12.22.0 to 12.22.1 (#601) ([193a76d](https://github.com/peaceiris/actions-gh-pages/commit/193a76dc629a50d7a2f52eb4ae85500a8a1d641a)), closes [#601](https://github.com/peaceiris/actions-gh-pages/issues/601)
* bump node from 12.22.1 to 12.22.2 (#628) ([f321f46](https://github.com/peaceiris/actions-gh-pages/commit/f321f46f65cf03a32305f8edab39c422a083f089)), closes [#628](https://github.com/peaceiris/actions-gh-pages/issues/628)
* Bump node from 12.22.4 to 12.22.6 (#652) ([be584e1](https://github.com/peaceiris/actions-gh-pages/commit/be584e1ad2567ce506171434857bedb2a6c1183a)), closes [#652](https://github.com/peaceiris/actions-gh-pages/issues/652)
* bump shelljs from 0.8.4 to 0.8.5 (#692) ([892ca34](https://github.com/peaceiris/actions-gh-pages/commit/892ca34305f901f196fde386b4177b54c249bfd9)), closes [#692](https://github.com/peaceiris/actions-gh-pages/issues/692)
* node 12.22.4 ([9181540](https://github.com/peaceiris/actions-gh-pages/commit/918154021f5dbde7bba6c5accf8cea1a1ce5ece2))
### docs
* Add CNAME details for newbies ([3d71e70](https://github.com/peaceiris/actions-gh-pages/commit/3d71e70db9f003fea342bde483a7c4a1978804ac))
* Add concurrency ([7e7d7df](https://github.com/peaceiris/actions-gh-pages/commit/7e7d7dff413c6f698439a11a1e581badf4507604))
* add Custom GitHub Actions Workflows beta ([b4af807](https://github.com/peaceiris/actions-gh-pages/commit/b4af807921596bdad79592b406d0d743aae9e30e))
* Add GitHub documentation references to permissions (#754) ([ac45008](https://github.com/peaceiris/actions-gh-pages/commit/ac45008338dab8bf0c3efa91605acffc8565729c)), closes [#754](https://github.com/peaceiris/actions-gh-pages/issues/754)
* add note GitHub official Action ([765cf11](https://github.com/peaceiris/actions-gh-pages/commit/765cf1194eb2c30092c7ba39dec8ee0dba3565b9))
* add permissions contents write (#753) ([414c92c](https://github.com/peaceiris/actions-gh-pages/commit/414c92c5ff594b380dd8df46dffbb34e3dd2343f)), closes [#753](https://github.com/peaceiris/actions-gh-pages/issues/753)
* Add pull_request event ([b1a4f27](https://github.com/peaceiris/actions-gh-pages/commit/b1a4f2701cec741ce67e3f9fdaf22eeaa58725f0))
* add rustdoc hint (#764) ([97637bf](https://github.com/peaceiris/actions-gh-pages/commit/97637bffb09a6ef46a66b47207df5a18e3e7afc0)), closes [#764](https://github.com/peaceiris/actions-gh-pages/issues/764)
* bump hugo-version to 0.101.0 (#779) ([e1448a7](https://github.com/peaceiris/actions-gh-pages/commit/e1448a73ca97cd0b1a6f894340080366c5e8509a)), closes [#779](https://github.com/peaceiris/actions-gh-pages/issues/779)
* Bump node from 12 to 14 ([e831faa](https://github.com/peaceiris/actions-gh-pages/commit/e831faae0e7153297107fb95e60d98b2a819eb63))
* Enable GitHub native ToC ([35c9643](https://github.com/peaceiris/actions-gh-pages/commit/35c9643c9552c1974ba5c86b5e4591eb60c044e4))
* fix level of title heading ([0e59680](https://github.com/peaceiris/actions-gh-pages/commit/0e596805b1ea4181aa361304efd73a2ebe8ec0ac))
* Fix redirected links ([9856f8c](https://github.com/peaceiris/actions-gh-pages/commit/9856f8c8f8c271cb4e132cc172ec3870c6278733))
* Improve custom branch clarity (#761) ([da72d05](https://github.com/peaceiris/actions-gh-pages/commit/da72d057b991a0e351714b28bcd2608fbbd5c09e)), closes [#761](https://github.com/peaceiris/actions-gh-pages/issues/761)
* Improve title ([cdd482a](https://github.com/peaceiris/actions-gh-pages/commit/cdd482ae85fc1e250ec3d13bab58f92f3491e316))
* Improve usage of concurrency ([913377f](https://github.com/peaceiris/actions-gh-pages/commit/913377f0522aec60032df5ba927834804c2cdddf))
* Remove github/personal-website (#653) ([57d746c](https://github.com/peaceiris/actions-gh-pages/commit/57d746cd244c5fb4124fd2d456f3c3450b4240e1)), closes [#653](https://github.com/peaceiris/actions-gh-pages/issues/653)
* Uncomment GHES section ([9641296](https://github.com/peaceiris/actions-gh-pages/commit/9641296c3dbe7196c23d64a90cd7e6fba18247d1))
* update description of disable_nojekyll ([a43024e](https://github.com/peaceiris/actions-gh-pages/commit/a43024e6c04d9bd62101961dbf0b8f986512eb3b))
* Update enable_jekyll description (#661) ([834306b](https://github.com/peaceiris/actions-gh-pages/commit/834306ba279944a8bd2c22a6c19cb6a5efdf474c)), closes [#661](https://github.com/peaceiris/actions-gh-pages/issues/661) [#660](https://github.com/peaceiris/actions-gh-pages/issues/660)
* Update redirected links ([84ef946](https://github.com/peaceiris/actions-gh-pages/commit/84ef94646075cd5dcd26237cf4df2b7087195eaf))
* Use ubuntu-20.04 ([a99b730](https://github.com/peaceiris/actions-gh-pages/commit/a99b730d288bec72710ba0c4f16630083be912a7))
### feat
* bump node12 to node16 (#791) ([44a2b44](https://github.com/peaceiris/actions-gh-pages/commit/44a2b4403c2488c309307085bcdaab19fb8c7ea6)), closes [#791](https://github.com/peaceiris/actions-gh-pages/issues/791)
### fix
* Improve if syntax ([f7a748b](https://github.com/peaceiris/actions-gh-pages/commit/f7a748bfc91daeaf53c8be14d1a8a4fb9c67c417))
# [3.8.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.3...v3.8.0) (2021-03-25)
### build
* fix dev docker image (#584) ([b52df3c](https://github.com/peaceiris/actions-gh-pages/commit/b52df3c817bc7c15dce1ce691645a5db4ae83af8)), closes [#584](https://github.com/peaceiris/actions-gh-pages/issues/584)
* Set target to ES2019 (#576) ([07f38c6](https://github.com/peaceiris/actions-gh-pages/commit/07f38c68fa7d285b500469c615e334df3b37a1e1)), closes [#576](https://github.com/peaceiris/actions-gh-pages/issues/576)
### chore
* Add link to create-release-npm ([3f0d4ce](https://github.com/peaceiris/actions-gh-pages/commit/3f0d4cea48cbc13116c89d5d0483abb4fc33f7d8))
* Add postinstall for husky install (#578) ([a0db9b6](https://github.com/peaceiris/actions-gh-pages/commit/a0db9b66be08f409f8263ee57ca1dd625d9f0b59)), closes [#578](https://github.com/peaceiris/actions-gh-pages/issues/578)
* bump doctoc from 1.4.0 to 2.0.0 ([727890a](https://github.com/peaceiris/actions-gh-pages/commit/727890a27e16b8a101a4635dd399e09b27d6ee2d))
* fix typo ([3dbd732](https://github.com/peaceiris/actions-gh-pages/commit/3dbd73271d56ca3ffbe3e284cb769e75be7b1a19))
* remove lib ([628161d](https://github.com/peaceiris/actions-gh-pages/commit/628161d570c8161d9c889968d60244e195cc4047))
* update link to github.community ([d04f65f](https://github.com/peaceiris/actions-gh-pages/commit/d04f65f98556d3d111f8d9817c16a74692d0c8de))
* update package-lock.json (#567) ([77ce5ec](https://github.com/peaceiris/actions-gh-pages/commit/77ce5ecb497f3828448080745e9500ea19585a9f)), closes [#567](https://github.com/peaceiris/actions-gh-pages/issues/567)
* update redirected links ([6004cfe](https://github.com/peaceiris/actions-gh-pages/commit/6004cfef02c3b3c6a114f6a25f350e72820cb3e1))
### ci
* Add --unsafe-perm=true --allow-root (#573) ([99df4b0](https://github.com/peaceiris/actions-gh-pages/commit/99df4b07a7197d291b0bcebf96a41a5df0190614)), closes [#573](https://github.com/peaceiris/actions-gh-pages/issues/573)
* add actions/labeler ([33f5d6c](https://github.com/peaceiris/actions-gh-pages/commit/33f5d6c1bf12e6776be660dc0fa9e4b02a33eb6d))
* add labeler.yml ([eaab2e3](https://github.com/peaceiris/actions-gh-pages/commit/eaab2e340497a62727a36dc7b789f91425047428))
* bump actions/setup-node from v2.1.2 to v2.1.3 (#546) ([44a3899](https://github.com/peaceiris/actions-gh-pages/commit/44a3899927ca2db2c174ce4782d207e0357fb248)), closes [#546](https://github.com/peaceiris/actions-gh-pages/issues/546)
* bump actions/setup-node from v2.1.3 to v2.1.4 (#549) ([7d34515](https://github.com/peaceiris/actions-gh-pages/commit/7d345152fb93257d6c54cadbda951fd1399174ca)), closes [#549](https://github.com/peaceiris/actions-gh-pages/issues/549)
* bump actions/setup-node from v2.1.4 to v2.1.5 (#574) ([94fb28f](https://github.com/peaceiris/actions-gh-pages/commit/94fb28f81cbbf860489718a0e8697a581b05313a)), closes [#574](https://github.com/peaceiris/actions-gh-pages/issues/574)
* bump codecov/codecov-action from v1.0.14 to v1.0.15 (#535) ([aedef9f](https://github.com/peaceiris/actions-gh-pages/commit/aedef9f283887800d5ff818e5cf61c08a5f53f55)), closes [#535](https://github.com/peaceiris/actions-gh-pages/issues/535)
* bump codecov/codecov-action from v1.0.15 to v1.1.0 (#550) ([f06a7f8](https://github.com/peaceiris/actions-gh-pages/commit/f06a7f879532e85e480c7f07951868a0a556ffeb)), closes [#550](https://github.com/peaceiris/actions-gh-pages/issues/550)
* bump codecov/codecov-action from v1.1.0 to v1.1.1 (#553) ([77a99cb](https://github.com/peaceiris/actions-gh-pages/commit/77a99cbdfe41dd761083d67b85365cf4ed3b55f6)), closes [#553](https://github.com/peaceiris/actions-gh-pages/issues/553)
* bump codecov/codecov-action from v1.1.1 to v1.2.0 (#557) ([1fd941c](https://github.com/peaceiris/actions-gh-pages/commit/1fd941c40ad4ec5733c654b496aebcdaa7742267)), closes [#557](https://github.com/peaceiris/actions-gh-pages/issues/557)
* bump codecov/codecov-action from v1.2.0 to v1.2.1 (#559) ([071f8cb](https://github.com/peaceiris/actions-gh-pages/commit/071f8cbc5a4da10f4770cf6a9a4d6b725a8041f7)), closes [#559](https://github.com/peaceiris/actions-gh-pages/issues/559)
* bump codecov/codecov-action from v1.2.1 to v1.2.2 (#583) ([65a821e](https://github.com/peaceiris/actions-gh-pages/commit/65a821ebc77147931cd063e47a69e6e62d38488c)), closes [#583](https://github.com/peaceiris/actions-gh-pages/issues/583)
* bump codecov/codecov-action from v1.2.2 to v1.3.1 (#585) ([e4724d9](https://github.com/peaceiris/actions-gh-pages/commit/e4724d9526ddfb09b07b596f47dda5cee7b3f14b)), closes [#585](https://github.com/peaceiris/actions-gh-pages/issues/585)
* bump peaceiris/actions-mdbook from v1.1.13 to v1.1.14 (#561) ([87b7480](https://github.com/peaceiris/actions-gh-pages/commit/87b7480404bf3cbb23668d8a536371c585e0d5bb)), closes [#561](https://github.com/peaceiris/actions-gh-pages/issues/561)
* bump peaceiris/workflows from v0.7.0 to v0.8.1 (#555) ([852bfb8](https://github.com/peaceiris/actions-gh-pages/commit/852bfb8e83b69c069a13f9bb310bb408886ad987)), closes [#555](https://github.com/peaceiris/actions-gh-pages/issues/555)
* Exclude writing actions on forks (#562) ([fcead0e](https://github.com/peaceiris/actions-gh-pages/commit/fcead0e0305a6c3a2d11912f3f0d4e9ef774e864)), closes [#562](https://github.com/peaceiris/actions-gh-pages/issues/562)
* Fix husky post-merge ([d3a97d5](https://github.com/peaceiris/actions-gh-pages/commit/d3a97d53a80c403efae6ac6f0016b0ce79e5543b))
* Migrate husky from v4 to v5 ([47a5b8c](https://github.com/peaceiris/actions-gh-pages/commit/47a5b8c83418c019949fa830ef42017018ae45cf))
* pin actions/checkout to v2 (#541) ([6c2db6e](https://github.com/peaceiris/actions-gh-pages/commit/6c2db6e184b7e053588817c974faa0423efaabb9)), closes [#541](https://github.com/peaceiris/actions-gh-pages/issues/541)
* remove CODECOV_TOKEN (#552) ([584ffda](https://github.com/peaceiris/actions-gh-pages/commit/584ffda459b76cf021356be7ebc0a9528fa079ee)), closes [#552](https://github.com/peaceiris/actions-gh-pages/issues/552)
* Remove husky and lint-staged (#572) ([0ed12e5](https://github.com/peaceiris/actions-gh-pages/commit/0ed12e5298a0c736a5f61db86b2f3fe58029d72d)), closes [#572](https://github.com/peaceiris/actions-gh-pages/issues/572)
* remove options no longer needed (#540) ([3ba244e](https://github.com/peaceiris/actions-gh-pages/commit/3ba244e8d490e4d764c2bff8638b70ed6b690bcc)), closes [#540](https://github.com/peaceiris/actions-gh-pages/issues/540)
* Remove skipci job ([03d2532](https://github.com/peaceiris/actions-gh-pages/commit/03d253207fbb920872c319b2a7a3f44851a4616d))
### deps
* bump @actions/glob from 0.1.0 to 0.1.1 (#534) ([2fa771f](https://github.com/peaceiris/actions-gh-pages/commit/2fa771f89e334f57b02c1320bd5b79b7f1b95654)), closes [#534](https://github.com/peaceiris/actions-gh-pages/issues/534)
* bump ini from 1.3.5 to 1.3.8 (#547) ([75c0bf7](https://github.com/peaceiris/actions-gh-pages/commit/75c0bf7407fe3e12bfb592668c697364eb275420)), closes [#547](https://github.com/peaceiris/actions-gh-pages/issues/547)
* bump node from 12.19.0 to 12.19.1 (#538) ([8cc3a89](https://github.com/peaceiris/actions-gh-pages/commit/8cc3a89d3b22f6f8b0cde1786aa3f482fac140a5)), closes [#538](https://github.com/peaceiris/actions-gh-pages/issues/538)
* bump node from 12.19.1 to 12.20.0 (#543) ([4adbf1c](https://github.com/peaceiris/actions-gh-pages/commit/4adbf1cc05ecb0467bee54c608acdf765dfb7dc6)), closes [#543](https://github.com/peaceiris/actions-gh-pages/issues/543)
* bump node from 12.20.0 to 12.20.1 (#560) ([3baf850](https://github.com/peaceiris/actions-gh-pages/commit/3baf8509207c681b15ebd4ae9de17052cca8181f)), closes [#560](https://github.com/peaceiris/actions-gh-pages/issues/560)
* bump node from 12.20.1 to 12.21.0 (#582) ([ebe0272](https://github.com/peaceiris/actions-gh-pages/commit/ebe02723dc0bdfe52f8903275f292a6ff13fa2e1)), closes [#582](https://github.com/peaceiris/actions-gh-pages/issues/582)
* bump node-notifier from 8.0.0 to 8.0.1 (#554) ([facb2e7](https://github.com/peaceiris/actions-gh-pages/commit/facb2e72727aff9c23812a9ab3e8cc3a871e5a4b)), closes [#554](https://github.com/peaceiris/actions-gh-pages/issues/554)
* Bump npm to v7 (#564) ([1d14b37](https://github.com/peaceiris/actions-gh-pages/commit/1d14b37db24086561560c31ec17fa4348512c01f)), closes [#564](https://github.com/peaceiris/actions-gh-pages/issues/564)
* update dev deps (#529) ([4c8cffc](https://github.com/peaceiris/actions-gh-pages/commit/4c8cffc919935c69a40648ca19e65bd69f4d5eb3)), closes [#529](https://github.com/peaceiris/actions-gh-pages/issues/529)
* update devDependencies (#533) ([f0573f9](https://github.com/peaceiris/actions-gh-pages/commit/f0573f94d8d29a7a28125c3c63c717fca629b682)), closes [#533](https://github.com/peaceiris/actions-gh-pages/issues/533)
* update devDependencies (#551) ([b427ba5](https://github.com/peaceiris/actions-gh-pages/commit/b427ba5d48d0c90dda34d4d03527f948e63102c9)), closes [#551](https://github.com/peaceiris/actions-gh-pages/issues/551)
* update devDependencies (#558) ([4b77300](https://github.com/peaceiris/actions-gh-pages/commit/4b77300e3cea6b38498b3b046eacc33208b19cac)), closes [#558](https://github.com/peaceiris/actions-gh-pages/issues/558)
* update devDependencies (#563) ([9b425f8](https://github.com/peaceiris/actions-gh-pages/commit/9b425f80dfe6e4a1490c82271c8006b79e0a5293)), closes [#563](https://github.com/peaceiris/actions-gh-pages/issues/563)
* update devDependencies (#577) ([0a4c122](https://github.com/peaceiris/actions-gh-pages/commit/0a4c122ea4dcd7422a1b27c5ff29ab4c1727535c)), closes [#577](https://github.com/peaceiris/actions-gh-pages/issues/577)
### docs
* bump actions/setup-node ([1054f6a](https://github.com/peaceiris/actions-gh-pages/commit/1054f6a6b93e6a22a2875ca4e7715d4d4987891c)), closes [#542](https://github.com/peaceiris/actions-gh-pages/issues/542)
* bump mdbook from 0.3.7 to 0.4.5 (#556) ([5b8ea1e](https://github.com/peaceiris/actions-gh-pages/commit/5b8ea1e7ee33ff43e6da01d00f5b6164bc003299)), closes [#556](https://github.com/peaceiris/actions-gh-pages/issues/556)
* comment out GHES section ([bf41193](https://github.com/peaceiris/actions-gh-pages/commit/bf41193762776d1ed23fe1a51afd518620ddba01))
* Improve description of destination_dir and keep_files (#569) ([e27e41d](https://github.com/peaceiris/actions-gh-pages/commit/e27e41d7cec17eaa1f5c90fb35857722f80a05c9)), closes [#569](https://github.com/peaceiris/actions-gh-pages/issues/569) [/github.com/peaceiris/actions-gh-pages/issues/324#issuecomment-779218091](https://github.com//github.com/peaceiris/actions-gh-pages/issues/324/issues/issuecomment-779218091)
* notes of GITHUB_TOKEN for newbies ([fe996f5](https://github.com/peaceiris/actions-gh-pages/commit/fe996f57a551f9a0e979f8310f96384cdee71ce2))
### feat
* Add GHES support 🏢 (#580) ([3623583](https://github.com/peaceiris/actions-gh-pages/commit/3623583f73a5cfb5ca3632d6234b9564fed73239)), closes [#580](https://github.com/peaceiris/actions-gh-pages/issues/580) [#579](https://github.com/peaceiris/actions-gh-pages/issues/579)
## [3.7.3](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.2...v3.7.3) (2020-10-20)
### ci
* bump codecov/codecov-action from v1.0.13 to v1.0.14 (#526) ([c4241b2](https://github.com/peaceiris/actions-gh-pages/commit/c4241b26fb90917901c95fabafc9907f71f44508)), closes [#526](https://github.com/peaceiris/actions-gh-pages/issues/526)
### docs
* Add link to create-react-app (#525) ([cf805b9](https://github.com/peaceiris/actions-gh-pages/commit/cf805b9457df587d349ee1684a4801cf9bbaac7d)), closes [#525](https://github.com/peaceiris/actions-gh-pages/issues/525)
### fix
* copyAssets and deleteExcludedAssets (#528) ([e93eed3](https://github.com/peaceiris/actions-gh-pages/commit/e93eed3ba7edf10f461bc4a7bd14cd2a12f44935)), closes [#528](https://github.com/peaceiris/actions-gh-pages/issues/528)
## [3.7.2](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.1...v3.7.2) (2020-10-15)
### ci
* peaceiris/workflows/create-release-npm@v0.7.0 ([45bd46f](https://github.com/peaceiris/actions-gh-pages/commit/45bd46f92200c682e8e4a5d0f542aa12f9417131))
### fix
* copy dotfiles (#521) ([95792e1](https://github.com/peaceiris/actions-gh-pages/commit/95792e1c0fe9dfef8ebe7284d1af7ca787fde866)), closes [#521](https://github.com/peaceiris/actions-gh-pages/issues/521) [#520](https://github.com/peaceiris/actions-gh-pages/issues/520) [#512](https://github.com/peaceiris/actions-gh-pages/issues/512) [#507](https://github.com/peaceiris/actions-gh-pages/issues/507) [#509](https://github.com/peaceiris/actions-gh-pages/issues/509) [#390](https://github.com/peaceiris/actions-gh-pages/issues/390) [#324](https://github.com/peaceiris/actions-gh-pages/issues/324) [#103](https://github.com/peaceiris/actions-gh-pages/issues/103)
## [3.7.1](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0...v3.7.1) (2020-10-14)
### chore
* add .prettierignore ([772c200](https://github.com/peaceiris/actions-gh-pages/commit/772c200ac146a7e8d63c227a919456f8e0b4693f))
### ci
* allow dependency-type production (#518) ([572a9b5](https://github.com/peaceiris/actions-gh-pages/commit/572a9b5eb96036fc7a15f7edc15612d6889f9cfa)), closes [#518](https://github.com/peaceiris/actions-gh-pages/issues/518)
### deps
* bump @types/node from 12.12.63 to 12.12.64 (#506) ([a60f467](https://github.com/peaceiris/actions-gh-pages/commit/a60f4671feb4a666aab43d6ac5a3783dc4657a43)), closes [#506](https://github.com/peaceiris/actions-gh-pages/issues/506)
* bump @types/node from 12.12.64 to 12.12.66 (#508) ([5c575e8](https://github.com/peaceiris/actions-gh-pages/commit/5c575e8b276eea8921774c99a7b83c0d66cea90a)), closes [#508](https://github.com/peaceiris/actions-gh-pages/issues/508)
* bump @types/node from 12.12.66 to 12.12.67 (#511) ([1447993](https://github.com/peaceiris/actions-gh-pages/commit/144799313d4ad48903ce4729920e3d2f1429bbeb)), closes [#511](https://github.com/peaceiris/actions-gh-pages/issues/511)
* bump jest from 26.5.0 to 26.5.2 (#504) ([24f34b2](https://github.com/peaceiris/actions-gh-pages/commit/24f34b2d740cd79924d8a98bb8f26576309eeced)), closes [#504](https://github.com/peaceiris/actions-gh-pages/issues/504)
* bump jest from 26.5.2 to 26.5.3 (#515) ([a284cb0](https://github.com/peaceiris/actions-gh-pages/commit/a284cb02e9b796754ca6b5c8471b228ec8c6958e)), closes [#515](https://github.com/peaceiris/actions-gh-pages/issues/515)
* bump jest-circus from 26.5.1 to 26.5.2 (#505) ([274c177](https://github.com/peaceiris/actions-gh-pages/commit/274c177da0a2ff2cfe592e6b36c355f8bc062be5)), closes [#505](https://github.com/peaceiris/actions-gh-pages/issues/505)
* bump jest-circus from 26.5.2 to 26.5.3 (#516) ([9765b50](https://github.com/peaceiris/actions-gh-pages/commit/9765b50692abbd7b95c1c097da071f5a9c98804d)), closes [#516](https://github.com/peaceiris/actions-gh-pages/issues/516)
* bump node from 12.18.4 to 12.19.0 (#510) ([87e03f1](https://github.com/peaceiris/actions-gh-pages/commit/87e03f1be4c6673e544b6a89259729c5c646cdf6)), closes [#510](https://github.com/peaceiris/actions-gh-pages/issues/510)
* update (#517) ([d81433e](https://github.com/peaceiris/actions-gh-pages/commit/d81433ecbd529e53bb1201223120e2febf24b310)), closes [#517](https://github.com/peaceiris/actions-gh-pages/issues/517)
### docs
* add notes about keep_files ([c77e4d0](https://github.com/peaceiris/actions-gh-pages/commit/c77e4d0f87024d01904cc067c1a8b8affd80c1f7)), closes [#507](https://github.com/peaceiris/actions-gh-pages/issues/507) [#509](https://github.com/peaceiris/actions-gh-pages/issues/509)
* pin version to v3 ([b3747cd](https://github.com/peaceiris/actions-gh-pages/commit/b3747cde802bb259e2c13135ae1f36d309bd3808))
* remove link to #349 ([1a9f7eb](https://github.com/peaceiris/actions-gh-pages/commit/1a9f7eb4817f70390ed147b00fdf4b7284cd913d)), closes [#349](https://github.com/peaceiris/actions-gh-pages/issues/349)
* update exclude_assets ([4682881](https://github.com/peaceiris/actions-gh-pages/commit/4682881fa3a4b9f5a25027d6bf1b47f6d6fda5e9))
* update Flutter Web ([edd5ff3](https://github.com/peaceiris/actions-gh-pages/commit/edd5ff366e489149e15c36cfe923b1d71953b7a7))
* update Swift Publish ([c6c5feb](https://github.com/peaceiris/actions-gh-pages/commit/c6c5feba5e7cdf1e9227296b38c6ab27a6372304))
* update Swift Publish ([f15a311](https://github.com/peaceiris/actions-gh-pages/commit/f15a3114676f95a60146c8270e93a3ddd2c03086))
* update title position ([46b269e](https://github.com/peaceiris/actions-gh-pages/commit/46b269eb77e5fe6f2fc9c9cc531541227dfeca22))
### feat
* Add link to README in log ([25e5ffa](https://github.com/peaceiris/actions-gh-pages/commit/25e5ffa1476a0017af4dfa0feb054ac18ccd1797))
### fix
* copyAssets (#512) ([725f7db](https://github.com/peaceiris/actions-gh-pages/commit/725f7db867bb4bb443f5d8bdffb18297aab5e5a3)), closes [#512](https://github.com/peaceiris/actions-gh-pages/issues/512)
# [3.7.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-8...v3.7.0) (2020-10-06)
### chore
* add ms-azuretools.vscode-docker ([b5c306f](https://github.com/peaceiris/actions-gh-pages/commit/b5c306f7ffdc59a10e5731919fd1b53b2f31d08b))
### ci
* bump actions/setup-node from v2.1.1 to v2.1.2 (#496) ([c1c219f](https://github.com/peaceiris/actions-gh-pages/commit/c1c219f526155987550e06bedfcc8e2fcc34f19b)), closes [#496](https://github.com/peaceiris/actions-gh-pages/issues/496)
* bump codecov/codecov-action from v1.0.12 to v1.0.13 (#454) ([16beda6](https://github.com/peaceiris/actions-gh-pages/commit/16beda69bf1c2971147330f49aaed617dcd38a2c)), closes [#454](https://github.com/peaceiris/actions-gh-pages/issues/454)
* bump peaceiris/actions-mdbook from v1.1.12 to v1.1.13 (#503) ([c41db76](https://github.com/peaceiris/actions-gh-pages/commit/c41db7653434f02391fb62fd0b3a1392c96e0f3a)), closes [#503](https://github.com/peaceiris/actions-gh-pages/issues/503)
### deps
* bump @actions/core from 1.2.4 to 1.2.5 (#464) ([f034a3f](https://github.com/peaceiris/actions-gh-pages/commit/f034a3f4851fe530b19b0413e95e6dc9f6651cac)), closes [#464](https://github.com/peaceiris/actions-gh-pages/issues/464)
* bump @actions/core from 1.2.5 to 1.2.6 (#493) ([31a25da](https://github.com/peaceiris/actions-gh-pages/commit/31a25da1090b19d7964d43a4999bbcac970cabc2)), closes [#493](https://github.com/peaceiris/actions-gh-pages/issues/493)
* bump @types/jest from 26.0.10 to 26.0.12 (#469) ([50d8ed5](https://github.com/peaceiris/actions-gh-pages/commit/50d8ed5bb609b910779ba8fb2be482988b1b2715)), closes [#469](https://github.com/peaceiris/actions-gh-pages/issues/469)
* bump @types/jest from 26.0.12 to 26.0.13 (#472) ([c1ee410](https://github.com/peaceiris/actions-gh-pages/commit/c1ee41001942b9ad1cab043438839698182a8e36)), closes [#472](https://github.com/peaceiris/actions-gh-pages/issues/472)
* bump @types/jest from 26.0.13 to 26.0.14 (#487) ([e5f4a93](https://github.com/peaceiris/actions-gh-pages/commit/e5f4a9361dc7a7fcf85bc93cdda63498b5b2675a)), closes [#487](https://github.com/peaceiris/actions-gh-pages/issues/487)
* bump @types/jest from 26.0.9 to 26.0.10 (#452) ([a6d0886](https://github.com/peaceiris/actions-gh-pages/commit/a6d08861738e12d61a6165e91744ad47ec5055c8)), closes [#452](https://github.com/peaceiris/actions-gh-pages/issues/452)
* bump @types/js-yaml from 3.12.4 to 3.12.5 (#369) ([b9e600f](https://github.com/peaceiris/actions-gh-pages/commit/b9e600fd62e1b00b9bece7bb97364b5e2851bde8)), closes [#369](https://github.com/peaceiris/actions-gh-pages/issues/369)
* bump @types/node from 12.12.54 to 12.12.55 (#471) ([c04664f](https://github.com/peaceiris/actions-gh-pages/commit/c04664fa6b9c7976cb163f63bf3eeadb89dc5d35)), closes [#471](https://github.com/peaceiris/actions-gh-pages/issues/471)
* bump @types/node from 12.12.55 to 12.12.56 (#477) ([b00ccd8](https://github.com/peaceiris/actions-gh-pages/commit/b00ccd8065e8b7492a736dc24ab492edd78c4d94)), closes [#477](https://github.com/peaceiris/actions-gh-pages/issues/477)
* bump @types/node from 12.12.56 to 12.12.57 (#478) ([def0f6b](https://github.com/peaceiris/actions-gh-pages/commit/def0f6b6353a5f7375d8883fab8ba2a31aae4dde)), closes [#478](https://github.com/peaceiris/actions-gh-pages/issues/478)
* bump @types/node from 12.12.57 to 12.12.58 (#480) ([82c3353](https://github.com/peaceiris/actions-gh-pages/commit/82c33532d47c1e3e1022768837fe72240e14df4e)), closes [#480](https://github.com/peaceiris/actions-gh-pages/issues/480)
* bump @types/node from 12.12.58 to 12.12.59 (#484) ([0b2e6b4](https://github.com/peaceiris/actions-gh-pages/commit/0b2e6b45b9742859757becb0e32d2dac9603ae8b)), closes [#484](https://github.com/peaceiris/actions-gh-pages/issues/484)
* bump @types/node from 12.12.59 to 12.12.61 (#486) ([2a142a0](https://github.com/peaceiris/actions-gh-pages/commit/2a142a0e742af73091ee341d3a16e417831d2ade)), closes [#486](https://github.com/peaceiris/actions-gh-pages/issues/486)
* bump @types/node from 12.12.61 to 12.12.62 (#488) ([9c2e2dd](https://github.com/peaceiris/actions-gh-pages/commit/9c2e2dd3cef54dcc19cbf40f9e82d565a0e0958a)), closes [#488](https://github.com/peaceiris/actions-gh-pages/issues/488)
* bump @types/node from 12.12.62 to 12.12.63 (#499) ([803227f](https://github.com/peaceiris/actions-gh-pages/commit/803227f54b5889f9da91766b49c882a8f1757188)), closes [#499](https://github.com/peaceiris/actions-gh-pages/issues/499)
* bump @vercel/ncc from 0.23.0 to 0.24.0 (#466) ([c20c670](https://github.com/peaceiris/actions-gh-pages/commit/c20c670c27d0e3057e45943f483bd0065f6041c8)), closes [#466](https://github.com/peaceiris/actions-gh-pages/issues/466)
* bump @vercel/ncc from 0.24.0 to 0.24.1 (#482) ([c96473b](https://github.com/peaceiris/actions-gh-pages/commit/c96473bb55710193901822a1ff27f6832eb72088)), closes [#482](https://github.com/peaceiris/actions-gh-pages/issues/482)
* bump eslint-config-prettier from 6.11.0 to 6.12.0 (#494) ([9cb40f4](https://github.com/peaceiris/actions-gh-pages/commit/9cb40f4ee908941ea49e90aff1ad48df306fcc38)), closes [#494](https://github.com/peaceiris/actions-gh-pages/issues/494)
* bump eslint-plugin-jest from 23.20.0 to 24.0.0 (#474) ([457c86c](https://github.com/peaceiris/actions-gh-pages/commit/457c86c44a39d04fbdcb8689e2f7672171751c58)), closes [#474](https://github.com/peaceiris/actions-gh-pages/issues/474)
* bump eslint-plugin-jest from 24.0.0 to 24.0.1 (#481) ([913650d](https://github.com/peaceiris/actions-gh-pages/commit/913650d45b7f1ea255cb5ff4b56dbe9c7b07a2ca)), closes [#481](https://github.com/peaceiris/actions-gh-pages/issues/481)
* bump eslint-plugin-jest from 24.0.1 to 24.0.2 (#491) ([e399650](https://github.com/peaceiris/actions-gh-pages/commit/e3996506619cae3bd515e7465c8dd5061c206101)), closes [#491](https://github.com/peaceiris/actions-gh-pages/issues/491)
* bump eslint-plugin-jest from 24.0.2 to 24.1.0 (#501) ([cb130c6](https://github.com/peaceiris/actions-gh-pages/commit/cb130c640dd2b2db834221575f347c93197363f0)), closes [#501](https://github.com/peaceiris/actions-gh-pages/issues/501)
* bump husky from 4.2.5 to 4.3.0 (#475) ([afac56d](https://github.com/peaceiris/actions-gh-pages/commit/afac56dcec4acb0a3c4bdcee799b2d5e6a582c99)), closes [#475](https://github.com/peaceiris/actions-gh-pages/issues/475)
* bump jest from 25.5.4 to 26.3.0 (#447) ([1f2df4a](https://github.com/peaceiris/actions-gh-pages/commit/1f2df4a7dd60e855bfd97162973852d897887c7a)), closes [#447](https://github.com/peaceiris/actions-gh-pages/issues/447)
* bump jest from 26.3.0 to 26.4.0 (#450) ([7af7235](https://github.com/peaceiris/actions-gh-pages/commit/7af7235a08b063929bd7e0c55498c7bf5b21f73f)), closes [#450](https://github.com/peaceiris/actions-gh-pages/issues/450)
* bump jest from 26.4.0 to 26.4.1 (#457) ([a1d6c21](https://github.com/peaceiris/actions-gh-pages/commit/a1d6c2131c75b416675be135a52a998a17923d86)), closes [#457](https://github.com/peaceiris/actions-gh-pages/issues/457)
* bump jest from 26.4.1 to 26.4.2 (#461) ([48392f0](https://github.com/peaceiris/actions-gh-pages/commit/48392f0c0cacab183ba360172d795ea0517c5b52)), closes [#461](https://github.com/peaceiris/actions-gh-pages/issues/461)
* bump jest from 26.4.2 to 26.5.0 (#500) ([3b4c9db](https://github.com/peaceiris/actions-gh-pages/commit/3b4c9db6447ee157aacdda858a7012007f285b26)), closes [#500](https://github.com/peaceiris/actions-gh-pages/issues/500)
* bump jest-circus from 26.2.2 to 26.3.0 (#446) ([61e2a61](https://github.com/peaceiris/actions-gh-pages/commit/61e2a61aea18b6db8407f51f442a89c30b0a4b16)), closes [#446](https://github.com/peaceiris/actions-gh-pages/issues/446)
* bump jest-circus from 26.3.0 to 26.4.0 (#449) ([74041e3](https://github.com/peaceiris/actions-gh-pages/commit/74041e385e8c91588c923bb9a9dad5e0c675dc10)), closes [#449](https://github.com/peaceiris/actions-gh-pages/issues/449)
* bump jest-circus from 26.4.0 to 26.4.1 (#458) ([f74f5a3](https://github.com/peaceiris/actions-gh-pages/commit/f74f5a30da4f78a3cfec43fbe471308d45252fb9)), closes [#458](https://github.com/peaceiris/actions-gh-pages/issues/458)
* bump jest-circus from 26.4.1 to 26.4.2 (#460) ([5487610](https://github.com/peaceiris/actions-gh-pages/commit/548761031c6cca51ad96d778241b2f4189e85876)), closes [#460](https://github.com/peaceiris/actions-gh-pages/issues/460)
* bump jest-circus from 26.4.2 to 26.5.1 (#498) ([2cddccc](https://github.com/peaceiris/actions-gh-pages/commit/2cddccc8c3678fdfa63dd9a29bbca1ace787eade)), closes [#498](https://github.com/peaceiris/actions-gh-pages/issues/498)
* bump lint-staged from 10.2.11 to 10.2.13 (#463) ([67200cf](https://github.com/peaceiris/actions-gh-pages/commit/67200cfb5a4969bf12cbc84e48a072956aad09ca)), closes [#463](https://github.com/peaceiris/actions-gh-pages/issues/463)
* bump lint-staged from 10.2.13 to 10.3.0 (#473) ([0762b5c](https://github.com/peaceiris/actions-gh-pages/commit/0762b5c9b9d1d565ef5dd34b6cfd8e7864ffdf15)), closes [#473](https://github.com/peaceiris/actions-gh-pages/issues/473)
* bump lint-staged from 10.3.0 to 10.4.0 (#485) ([abae70b](https://github.com/peaceiris/actions-gh-pages/commit/abae70beb5c5f4d3e69fad85eec74879a7c022e4)), closes [#485](https://github.com/peaceiris/actions-gh-pages/issues/485)
* bump node from 12.18.3 to 12.18.4 (#489) ([9fba4cf](https://github.com/peaceiris/actions-gh-pages/commit/9fba4cf667368d5b10eff9771bfd1df51546b1d8)), closes [#489](https://github.com/peaceiris/actions-gh-pages/issues/489)
* bump node-fetch from 2.6.0 to 2.6.1 (#479) ([45708a0](https://github.com/peaceiris/actions-gh-pages/commit/45708a03737eaa992c9b6979c21a8b852bbc5f6a)), closes [#479](https://github.com/peaceiris/actions-gh-pages/issues/479)
* bump prettier from 2.0.5 to 2.1.0 (#462) ([37b07f7](https://github.com/peaceiris/actions-gh-pages/commit/37b07f70e3922aaf5677eb3ebdf2ffc0fd18cfab)), closes [#462](https://github.com/peaceiris/actions-gh-pages/issues/462)
* bump prettier from 2.1.0 to 2.1.1 (#465) ([8955511](https://github.com/peaceiris/actions-gh-pages/commit/8955511f502023da36495f9331276ee8257a44d8)), closes [#465](https://github.com/peaceiris/actions-gh-pages/issues/465)
* bump prettier from 2.1.1 to 2.1.2 (#483) ([fe21b42](https://github.com/peaceiris/actions-gh-pages/commit/fe21b422bf4670fb994fee05bef0563b80d29a31)), closes [#483](https://github.com/peaceiris/actions-gh-pages/issues/483)
* bump standard-version from 8.0.2 to 9.0.0 (#453) ([8146aed](https://github.com/peaceiris/actions-gh-pages/commit/8146aedaa917e5ba0e9383328b53b283506f286b)), closes [#453](https://github.com/peaceiris/actions-gh-pages/issues/453)
* bump ts-jest from 25.5.1 to 26.2.0 (#448) ([42cf996](https://github.com/peaceiris/actions-gh-pages/commit/42cf99685e494616538e9f3e9f49524a1964de37)), closes [#448](https://github.com/peaceiris/actions-gh-pages/issues/448)
* bump ts-jest from 26.2.0 to 26.3.0 (#467) ([5a84f48](https://github.com/peaceiris/actions-gh-pages/commit/5a84f48f784a37aa957d6ca09e66026a251aa46c)), closes [#467](https://github.com/peaceiris/actions-gh-pages/issues/467)
* bump ts-jest from 26.3.0 to 26.4.0 (#492) ([edfebaf](https://github.com/peaceiris/actions-gh-pages/commit/edfebaf01b68194497965068543f085f726ad1bf)), closes [#492](https://github.com/peaceiris/actions-gh-pages/issues/492)
* bump ts-jest from 26.4.0 to 26.4.1 (#495) ([b4f6cbe](https://github.com/peaceiris/actions-gh-pages/commit/b4f6cbe8b15af25d3f1b5e3e11066669a792ccae)), closes [#495](https://github.com/peaceiris/actions-gh-pages/issues/495)
* bump typescript from 3.9.7 to 4.0.2 (#468) ([d874503](https://github.com/peaceiris/actions-gh-pages/commit/d87450373360617bad3affaa5e3ef40153eeaaee)), closes [#468](https://github.com/peaceiris/actions-gh-pages/issues/468)
* bump typescript from 4.0.2 to 4.0.3 (#490) ([120ec44](https://github.com/peaceiris/actions-gh-pages/commit/120ec442c194f65cc7fbfba21cbe4987480cf914)), closes [#490](https://github.com/peaceiris/actions-gh-pages/issues/490)
* change @zeit/ncc to @vercel/ncc (#459) ([79bf213](https://github.com/peaceiris/actions-gh-pages/commit/79bf213729e88d1c383575834ddac86d57d3daa5)), closes [#459](https://github.com/peaceiris/actions-gh-pages/issues/459)
### docs
* add note about keep_files and force_orphan (#456) ([fb9ff7f](https://github.com/peaceiris/actions-gh-pages/commit/fb9ff7fb2ebdc1a780c8a17bbdb3c71d6d1ccc38)), closes [#456](https://github.com/peaceiris/actions-gh-pages/issues/456) [#455](https://github.com/peaceiris/actions-gh-pages/issues/455)
* bump v3.7.0-6 to v3.7.0-8 ([d7934f1](https://github.com/peaceiris/actions-gh-pages/commit/d7934f1bfbc15c35643fbec079d6483308ac867c))
* change master branch to another (#436) ([f89d868](https://github.com/peaceiris/actions-gh-pages/commit/f89d8688b5d8ad20b650ecaf48e1dc1d07178674)), closes [#436](https://github.com/peaceiris/actions-gh-pages/issues/436)
* Fix typo in README (#476) ([f3be898](https://github.com/peaceiris/actions-gh-pages/commit/f3be898a9685a229d5312bbc6a63eb8d2c5a0f02)), closes [#476](https://github.com/peaceiris/actions-gh-pages/issues/476)
# [3.7.0-8](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-7...v3.7.0-8) (2020-08-09)
### chore
* Add vscode devcontainer ([6b302fd](https://github.com/peaceiris/actions-gh-pages/commit/6b302fdd506eb1874da1e7245b19bc66c4db0bfc))
### ci
* Add actions runner env (#443) ([ba912f7](https://github.com/peaceiris/actions-gh-pages/commit/ba912f746bdcba752e96a9c6731af9f9ff289f0e)), closes [#443](https://github.com/peaceiris/actions-gh-pages/issues/443)
### deps
* bump @types/jest from 26.0.7 to 26.0.8 (#439) ([3f71ec2](https://github.com/peaceiris/actions-gh-pages/commit/3f71ec211a08aef8dde6999c8ee81dae974a26f2)), closes [#439](https://github.com/peaceiris/actions-gh-pages/issues/439)
* bump @types/jest from 26.0.8 to 26.0.9 (#442) ([02db90c](https://github.com/peaceiris/actions-gh-pages/commit/02db90c5c8564c8b0c1432aca1b52d66d10c7583)), closes [#442](https://github.com/peaceiris/actions-gh-pages/issues/442)
* bump @types/node from 12.12.53 to 12.12.54 (#441) ([b5599b3](https://github.com/peaceiris/actions-gh-pages/commit/b5599b36fdd4acffdb3fb4d55bb94ac76a2b3b98)), closes [#441](https://github.com/peaceiris/actions-gh-pages/issues/441)
### refactor
* Enhance log (#444) ([f800244](https://github.com/peaceiris/actions-gh-pages/commit/f80024481c7939706fac36cee86324c56371d6fd)), closes [#444](https://github.com/peaceiris/actions-gh-pages/issues/444)
# [3.7.0-7](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-6...v3.7.0-7) (2020-08-02)
### ci
* add env (#419) ([71958c5](https://github.com/peaceiris/actions-gh-pages/commit/71958c534b1f4dadbef055d8851541314574559b)), closes [#419](https://github.com/peaceiris/actions-gh-pages/issues/419)
* Add npm audit (#426) ([a49e738](https://github.com/peaceiris/actions-gh-pages/commit/a49e738c320151f18296dbcda6a418408cd64ea3)), closes [#426](https://github.com/peaceiris/actions-gh-pages/issues/426)
* add workflow_dispatch and schedule ([24d40fe](https://github.com/peaceiris/actions-gh-pages/commit/24d40fe124feecb6c5f4259a1906fcafd603b8f6))
* change base image from Debian to Ubuntu 18.04 (#428) ([70c0076](https://github.com/peaceiris/actions-gh-pages/commit/70c0076457b26d38a26bacbac279b8bf35cc47c8)), closes [#428](https://github.com/peaceiris/actions-gh-pages/issues/428)
* Clean up apt cache and junk (#425) ([5d053d3](https://github.com/peaceiris/actions-gh-pages/commit/5d053d30d0c607d63ce46c3d7ce321bfdb1c11c1)), closes [#425](https://github.com/peaceiris/actions-gh-pages/issues/425)
* enhance version log (#429) ([681dcab](https://github.com/peaceiris/actions-gh-pages/commit/681dcab3fd25a0f24dc66bb2767c0e37934aad5c)), closes [#429](https://github.com/peaceiris/actions-gh-pages/issues/429)
* reuse NODE_VERSION in nodesource URL (#430) ([2b5ce90](https://github.com/peaceiris/actions-gh-pages/commit/2b5ce90dc9ac2814d6e8ee5322d3e18b42ad008f)), closes [#430](https://github.com/peaceiris/actions-gh-pages/issues/430)
* Set default branch to main (#424) ([4cf5105](https://github.com/peaceiris/actions-gh-pages/commit/4cf510592915a8c58f536094aa9b881196852ce1)), closes [#424](https://github.com/peaceiris/actions-gh-pages/issues/424)
* set env CI to true (#418) ([eca3d9d](https://github.com/peaceiris/actions-gh-pages/commit/eca3d9d25efd39b60b2e32fe85e94b53951f9096)), closes [#418](https://github.com/peaceiris/actions-gh-pages/issues/418)
### deps
* Apply npm audit fix (#434) ([4bf31e4](https://github.com/peaceiris/actions-gh-pages/commit/4bf31e45208169b022dc9b870de61d6eea322d29)), closes [#434](https://github.com/peaceiris/actions-gh-pages/issues/434)
* bump @types/node from 12.12.52 to 12.12.53 (#421) ([c839730](https://github.com/peaceiris/actions-gh-pages/commit/c8397307b446e9d81d20682060c40e8dd4de96b0)), closes [#421](https://github.com/peaceiris/actions-gh-pages/issues/421)
* bump eslint-plugin-jest from 23.18.0 to 23.18.2 (#420) ([7259f5c](https://github.com/peaceiris/actions-gh-pages/commit/7259f5ccc2d61b325b9c8f33d570170a345d496b)), closes [#420](https://github.com/peaceiris/actions-gh-pages/issues/420)
* bump eslint-plugin-jest from 23.18.2 to 23.19.0 (#423) ([2392f69](https://github.com/peaceiris/actions-gh-pages/commit/2392f69e4dd8264685215438922790389daedb24)), closes [#423](https://github.com/peaceiris/actions-gh-pages/issues/423)
* bump eslint-plugin-jest from 23.19.0 to 23.20.0 (#432) ([0c8fc2d](https://github.com/peaceiris/actions-gh-pages/commit/0c8fc2d5e699acedef9512db7f3c240fa110285a)), closes [#432](https://github.com/peaceiris/actions-gh-pages/issues/432)
* bump git from 2.27.0 to 2.28.0 (#422) ([fecb564](https://github.com/peaceiris/actions-gh-pages/commit/fecb5648609eee9e7add9fa2d5a9397abb3398db)), closes [#422](https://github.com/peaceiris/actions-gh-pages/issues/422)
* bump jest-circus from 26.1.0 to 26.2.2 (#435) ([4fb3d60](https://github.com/peaceiris/actions-gh-pages/commit/4fb3d60161340ada324107b29fe7f4aa4a6487f0)), closes [#435](https://github.com/peaceiris/actions-gh-pages/issues/435)
* bump node from 12.18.2 to 12.18.3 (#431) ([0794e07](https://github.com/peaceiris/actions-gh-pages/commit/0794e07c99f802bb0f1a4c00972e46b381a360ee)), closes [#431](https://github.com/peaceiris/actions-gh-pages/issues/431)
### docs
* Add exclude_assets section ([7dd962e](https://github.com/peaceiris/actions-gh-pages/commit/7dd962e52e7deb89dfa860da173ddbb96462d371))
* bump hugo from 0.74.2 to 0.74.3 ([ded3953](https://github.com/peaceiris/actions-gh-pages/commit/ded3953565f3dde01b9678834705b16df9be1df6))
### feat
* Add .nojekyll file by default for all branches (#438) ([079d483](https://github.com/peaceiris/actions-gh-pages/commit/079d48367e5a8bc6448f5e9846666d27ea66e1e5)), closes [#438](https://github.com/peaceiris/actions-gh-pages/issues/438)
# [3.7.0-6](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-5...v3.7.0-6) (2020-07-25)
### feat
* exclude_assets supports glob patterns (#417) ([6f45501](https://github.com/peaceiris/actions-gh-pages/commit/6f45501409dbe16857c00f6d40a51bea56254f2b)), closes [#417](https://github.com/peaceiris/actions-gh-pages/issues/417) [#163](https://github.com/peaceiris/actions-gh-pages/issues/163)
# [3.7.0-5](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-4...v3.7.0-5) (2020-07-25)
### feat
* Add exclude_assets option (#416) ([0f5c65e](https://github.com/peaceiris/actions-gh-pages/commit/0f5c65e1408b30fe461ba319ca9a01d20c293cd4)), closes [#416](https://github.com/peaceiris/actions-gh-pages/issues/416) [#163](https://github.com/peaceiris/actions-gh-pages/issues/163)
# [3.7.0-4](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-3...v3.7.0-4) (2020-07-25)
### fix
* copyAssets() for destination_dir (#414) ([674c231](https://github.com/peaceiris/actions-gh-pages/commit/674c2318cebb9ba59aa8fbf8ec4fae8482e51e5c)), closes [#414](https://github.com/peaceiris/actions-gh-pages/issues/414)
# [3.7.0-3](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-2...v3.7.0-3) (2020-07-24)
### deps
* bump @types/jest from 26.0.5 to 26.0.7 (#411) ([d1700b5](https://github.com/peaceiris/actions-gh-pages/commit/d1700b565361478232daa6d66d3fe7c146b9d08f)), closes [#411](https://github.com/peaceiris/actions-gh-pages/issues/411)
* bump @types/node from 12.12.51 to 12.12.52 (#412) ([1b5d710](https://github.com/peaceiris/actions-gh-pages/commit/1b5d710b249d09c1e229931378217c47773de8ed)), closes [#412](https://github.com/peaceiris/actions-gh-pages/issues/412)
### fix
* set full path of publishing assets (#413) ([6f6bb26](https://github.com/peaceiris/actions-gh-pages/commit/6f6bb2661a12d5db5d7df62962d1d28403a02860)), closes [#413](https://github.com/peaceiris/actions-gh-pages/issues/413) [/github.com/peaceiris/actions-gh-pages/issues/410#issuecomment-663507581](https://github.com//github.com/peaceiris/actions-gh-pages/issues/410/issues/issuecomment-663507581)
### refactor
* change message type from warning to info ([3667feb](https://github.com/peaceiris/actions-gh-pages/commit/3667febec573a36efa26505b6a712b314242991a))
# [3.7.0-2](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-1...v3.7.0-2) (2020-07-23)
### ci
* Add docker-compose.yml (#406) ([a2712f7](https://github.com/peaceiris/actions-gh-pages/commit/a2712f7b923e3e05d0f46e54fbcacef3380aca31)), closes [#406](https://github.com/peaceiris/actions-gh-pages/issues/406)
* bump actions/setup-node from v2.1.0 to v2.1.1 (#407) ([8cd820b](https://github.com/peaceiris/actions-gh-pages/commit/8cd820bd660be6aa016923b6b35005df2fb071da)), closes [#407](https://github.com/peaceiris/actions-gh-pages/issues/407)
* bump codecov/codecov-action from v1.0.11 to v1.0.12 (#409) ([af7aac1](https://github.com/peaceiris/actions-gh-pages/commit/af7aac10073791e2907990204f723d6b0ff902c5)), closes [#409](https://github.com/peaceiris/actions-gh-pages/issues/409)
* remove types [skip ci] ([f633b0f](https://github.com/peaceiris/actions-gh-pages/commit/f633b0f6b54f252348cc3b10713b111caaf6f3d1))
### docs
* Add Code Scanning workflow badge ([99a89f6](https://github.com/peaceiris/actions-gh-pages/commit/99a89f661a291c444965018bf828995e08d7bb7b))
* bump hugo from 0.71.1 to 0.74.2 ([ad558aa](https://github.com/peaceiris/actions-gh-pages/commit/ad558aa8bd9ad82edc7bd886159659328e6d61de))
* change default-branch to main ([6896bd8](https://github.com/peaceiris/actions-gh-pages/commit/6896bd8b80ecc02e6c47bbcf7fc1ae0bd4d47645))
* change master branch to default-branch (#408) ([5051105](https://github.com/peaceiris/actions-gh-pages/commit/505110527986e8c3d30694488f643d6529d0d593)), closes [#408](https://github.com/peaceiris/actions-gh-pages/issues/408)
### fix
* chdir to workDir after copied assets ([612f1f7](https://github.com/peaceiris/actions-gh-pages/commit/612f1f7579820dc380d265d61924f7a7d8718859)), closes [#324](https://github.com/peaceiris/actions-gh-pages/issues/324)
# [3.7.0-1](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.0-0...v3.7.0-1) (2020-07-21)
### docs
* Enhance section name ([3874723](https://github.com/peaceiris/actions-gh-pages/commit/3874723ac6158d13e3f1e3c8fd34e1ce96d9edf7))
### fix
* KeepFiles behaviour when DestinationDir has dir (#405) ([ce4e3be](https://github.com/peaceiris/actions-gh-pages/commit/ce4e3beff1ed33658f3160b0f45b688c6ea09932)), closes [#405](https://github.com/peaceiris/actions-gh-pages/issues/405) [#324](https://github.com/peaceiris/actions-gh-pages/issues/324)
# [3.7.0-0](https://github.com/peaceiris/actions-gh-pages/compare/v3.6.4...v3.7.0-0) (2020-07-21)
### ci
* bump codecov/codecov-action from v1.0.10 to v1.0.11 (#401) ([a5a8912](https://github.com/peaceiris/actions-gh-pages/commit/a5a8912d3e47a3ba8785d356ebed0fd02e2eeb46)), closes [#401](https://github.com/peaceiris/actions-gh-pages/issues/401)
* update label ([5980f05](https://github.com/peaceiris/actions-gh-pages/commit/5980f05de835c05638459c3c7a80d76edd0c7969))
### deps
* bump @types/jest from 26.0.4 to 26.0.5 (#402) ([42a6cdd](https://github.com/peaceiris/actions-gh-pages/commit/42a6cdde0c0d499af05cd22020132f6240d578a8)), closes [#402](https://github.com/peaceiris/actions-gh-pages/issues/402)
* bump @types/node from 12.12.50 to 12.12.51 (#404) ([0cb61e9](https://github.com/peaceiris/actions-gh-pages/commit/0cb61e91a5487c04cb202e13a8d2bc25c09c80e1)), closes [#404](https://github.com/peaceiris/actions-gh-pages/issues/404)
### docs
* update dependabot label ([2504696](https://github.com/peaceiris/actions-gh-pages/commit/250469649c036a88f547b96f94867900a1f19163))
### feat
* Add destination_dir option (#403) ([f30118c](https://github.com/peaceiris/actions-gh-pages/commit/f30118c78eebbbe6cf66009b80a7414a4047de43)), closes [#403](https://github.com/peaceiris/actions-gh-pages/issues/403) [#324](https://github.com/peaceiris/actions-gh-pages/issues/324) [#390](https://github.com/peaceiris/actions-gh-pages/issues/390)
## [3.6.4](https://github.com/peaceiris/actions-gh-pages/compare/v3.6.3...v3.6.4) (2020-07-18)
### chore
* change default branch from master to main (#396) ([932df18](https://github.com/peaceiris/actions-gh-pages/commit/932df18147b59ce4a998b4caabfcc50f1889c827)), closes [#396](https://github.com/peaceiris/actions-gh-pages/issues/396)
### deps
* bump standard-version from 8.0.1 to 8.0.2 (#395) ([c935046](https://github.com/peaceiris/actions-gh-pages/commit/c935046a93788ca4ea55bb13f438ae77a54a9197)), closes [#395](https://github.com/peaceiris/actions-gh-pages/issues/395)
* bump typescript from 3.9.6 to 3.9.7 (#399) ([7e92312](https://github.com/peaceiris/actions-gh-pages/commit/7e92312ae46d6a7ad1c55a6ce3d98c66ae1ddda3)), closes [#399](https://github.com/peaceiris/actions-gh-pages/issues/399)
### docs
* change default branch from master to main (#397) ([6901b8e](https://github.com/peaceiris/actions-gh-pages/commit/6901b8e8fcec69a339c4a622b85ec3f66e78f90a)), closes [#397](https://github.com/peaceiris/actions-gh-pages/issues/397)
### feat
* Allow absolute path for publish_dir (#400) ([e193524](https://github.com/peaceiris/actions-gh-pages/commit/e193524bff3509becae7e3ced3114176cc70a5dd)), closes [#400](https://github.com/peaceiris/actions-gh-pages/issues/400) [#242](https://github.com/peaceiris/actions-gh-pages/issues/242)
* enhance error message (#398) ([3d65640](https://github.com/peaceiris/actions-gh-pages/commit/3d656402e52a96a0c027e4ad98f3ce06da7f8c1b)), closes [#398](https://github.com/peaceiris/actions-gh-pages/issues/398)
## [3.6.3](https://github.com/peaceiris/actions-gh-pages/compare/v3.6.2...v3.6.3) (2020-07-14)
### deps
* bump @types/node from 12.12.48 to 12.12.50 (#392) ([a4205cb](https://github.com/peaceiris/actions-gh-pages/commit/a4205cbdd8cd3a11aee9c47b7f9d99a615b70a21)), closes [#392](https://github.com/peaceiris/actions-gh-pages/issues/392)
* bump standard-version from 8.0.0 to 8.0.1 (#391) ([6b76e36](https://github.com/peaceiris/actions-gh-pages/commit/6b76e36ab31b40e721fdf587221239d94ca5d141)), closes [#391](https://github.com/peaceiris/actions-gh-pages/issues/391)
### docs
* Add dependabot.yml example (#385) ([a8941b8](https://github.com/peaceiris/actions-gh-pages/commit/a8941b89c6f5476753fcdadcacbfb73206faefb3)), closes [#385](https://github.com/peaceiris/actions-gh-pages/issues/385)
* add notes #349 (#387) ([488b74c](https://github.com/peaceiris/actions-gh-pages/commit/488b74cc9f861adb4649850096fb9f367363c096)), closes [#349](https://github.com/peaceiris/actions-gh-pages/issues/349) [#387](https://github.com/peaceiris/actions-gh-pages/issues/387)
* Add Schedule and Manual Deployment (#386) ([16d58be](https://github.com/peaceiris/actions-gh-pages/commit/16d58bea333f07b6141ab6d6f95dca541fde8853)), closes [#386](https://github.com/peaceiris/actions-gh-pages/issues/386)
* pin actions/setup-node from v2 to v2.1.0 (#389) ([d753ac9](https://github.com/peaceiris/actions-gh-pages/commit/d753ac9b7dd593b0877d35bc997ea8665c73866c)), closes [#389](https://github.com/peaceiris/actions-gh-pages/issues/389) [#388](https://github.com/peaceiris/actions-gh-pages/issues/388)
### fix
* isProhibitedBranch detection (#394) ([f53ab0c](https://github.com/peaceiris/actions-gh-pages/commit/f53ab0c2a5d3f3b2e6524639bae8ca84e454e049)), closes [#394](https://github.com/peaceiris/actions-gh-pages/issues/394)
## [3.6.2](https://github.com/peaceiris/actions-gh-pages/compare/v3.6.1...v3.6.2) (2020-07-08)
### chore
* [CodeFactor] Apply fixes (#326) ([8f1f960](https://github.com/peaceiris/actions-gh-pages/commit/8f1f960923fb9b1ad582065a9e8921501233235d)), closes [#326](https://github.com/peaceiris/actions-gh-pages/issues/326)
* Add note reading official docs ([aa82aeb](https://github.com/peaceiris/actions-gh-pages/commit/aa82aebc1d90d5e484f263ac8b446717fe186b29)), closes [#339](https://github.com/peaceiris/actions-gh-pages/issues/339)
* change prettier to plugin:prettier/recommended (#366) ([91a3cf4](https://github.com/peaceiris/actions-gh-pages/commit/91a3cf4cdd6ff12a249851003b22ba9ce7a131d1)), closes [#366](https://github.com/peaceiris/actions-gh-pages/issues/366)
* change printWidth from 80 to 100 (#362) ([4d89a38](https://github.com/peaceiris/actions-gh-pages/commit/4d89a385db8421a90a755e655201bfbb8e037f7d)), closes [#362](https://github.com/peaceiris/actions-gh-pages/issues/362)
* Comment out explanations ([e705cf5](https://github.com/peaceiris/actions-gh-pages/commit/e705cf59bce4073ec34d96e0b007331bb156949f))
* fix extends (#329) ([646a1a3](https://github.com/peaceiris/actions-gh-pages/commit/646a1a3881b4d64f0baaf0f2a4bad00d80f0b00c)), closes [#329](https://github.com/peaceiris/actions-gh-pages/issues/329)
* Please follow the issue templates ([6d42c2c](https://github.com/peaceiris/actions-gh-pages/commit/6d42c2c3b6a5bfe9017e35a3bf449b52cb7f7e9a))
* update ignore version @types/node (#341) ([8b93bc1](https://github.com/peaceiris/actions-gh-pages/commit/8b93bc127f802720e03d0c8fc04474187d513b8e)), closes [#341](https://github.com/peaceiris/actions-gh-pages/issues/341)
* update url ([5b6baff](https://github.com/peaceiris/actions-gh-pages/commit/5b6baff975eb347e058449684755e5a6f1d90dbf))
### ci
* add Code Scanning workflow (#381) ([c6333d4](https://github.com/peaceiris/actions-gh-pages/commit/c6333d41f0f49f346e5610446126c513c830a63a)), closes [#381](https://github.com/peaceiris/actions-gh-pages/issues/381)
* add is_skip [skip ci] ([f954d41](https://github.com/peaceiris/actions-gh-pages/commit/f954d4113e9aa614acce48a109989f2818498647))
* Add package-ecosystem github-actions ([65dc7af](https://github.com/peaceiris/actions-gh-pages/commit/65dc7af0847a52d3e8dfa56f3f64dcb0acf6032f))
* Add ubuntu-20.04 to matrix (#336) ([773665f](https://github.com/peaceiris/actions-gh-pages/commit/773665f4f03e53cf0c58c70fb75a4b61a59faa43)), closes [#336](https://github.com/peaceiris/actions-gh-pages/issues/336) [/github.com/actions/virtual-environments/issues/228#issuecomment-637362224](https://github.com//github.com/actions/virtual-environments/issues/228/issues/issuecomment-637362224)
* add workflow_dispatch event ([4dfc201](https://github.com/peaceiris/actions-gh-pages/commit/4dfc201b552e8fdb33f8957c688f22aa826808f7))
* bump actions/checkout from v2 to v2.3.0 (#353) ([744621d](https://github.com/peaceiris/actions-gh-pages/commit/744621d13de4d21149e264f31f753a661d02657b)), closes [#353](https://github.com/peaceiris/actions-gh-pages/issues/353)
* bump actions/checkout from v2.3.0 to v2.3.1 (#355) ([70411f0](https://github.com/peaceiris/actions-gh-pages/commit/70411f07e77787ea9517c20372416bd564bacc49)), closes [#355](https://github.com/peaceiris/actions-gh-pages/issues/355)
* bump actions/setup-node from v1.4.1 to v2.0.0 (#334) ([59c0ce4](https://github.com/peaceiris/actions-gh-pages/commit/59c0ce428416f5d77dd80447234854c5f265389a)), closes [#334](https://github.com/peaceiris/actions-gh-pages/issues/334)
* bump actions/setup-node from v2.0.0 to v2.1.0 (#373) ([ac98064](https://github.com/peaceiris/actions-gh-pages/commit/ac980646cfdb44c8a3c8ca8feef157fec899833b)), closes [#373](https://github.com/peaceiris/actions-gh-pages/issues/373)
* bump codecov/codecov-action from v1 to v1.0.7 (#333) ([d1afc2e](https://github.com/peaceiris/actions-gh-pages/commit/d1afc2e8ce82a3894c4f317aed2034c79df7f5d6)), closes [#333](https://github.com/peaceiris/actions-gh-pages/issues/333)
* bump codecov/codecov-action from v1.0.7 to v1.0.10 (#375) ([05b3340](https://github.com/peaceiris/actions-gh-pages/commit/05b3340742dd75308cb4eca7658801e6ad1845fe)), closes [#375](https://github.com/peaceiris/actions-gh-pages/issues/375)
* bump peaceiris/actions-mdbook from v1 to v1.1.12 (#360) ([19976af](https://github.com/peaceiris/actions-gh-pages/commit/19976af8e50d10695ac54978295745e906406cd6)), closes [#360](https://github.com/peaceiris/actions-gh-pages/issues/360)
* Change test cases ([c8f4fd4](https://github.com/peaceiris/actions-gh-pages/commit/c8f4fd4c5df03e8cf5236282d5bd0803b916d80b))
* Change update_type from all to semver:minor ([db632c7](https://github.com/peaceiris/actions-gh-pages/commit/db632c70f26b9129de49226f262be4a285869010))
* Pin to actions/setup-node v1.4.1 ([4477775](https://github.com/peaceiris/actions-gh-pages/commit/4477775802ff17d7755561bf9b5c1ba0ce8a3eb1))
* push dev docker image to packages (#384) ([29acb8e](https://github.com/peaceiris/actions-gh-pages/commit/29acb8eaeec4ad61d11a47ca8afbc51064d594a6)), closes [#384](https://github.com/peaceiris/actions-gh-pages/issues/384)
* remove open-pull-requests-limit ([1ceef71](https://github.com/peaceiris/actions-gh-pages/commit/1ceef71a57129c1fc8e593d29088f17bed514448))
* remove pull_request.types ([489a03a](https://github.com/peaceiris/actions-gh-pages/commit/489a03aac40f9daac18d4d333736c60057784060))
* remove skipci job ([f444b0e](https://github.com/peaceiris/actions-gh-pages/commit/f444b0ede2b23bdd191ff9a5070ebbf61ec4ff31))
* Update Dependabot config file (#330) ([c4529a5](https://github.com/peaceiris/actions-gh-pages/commit/c4529a59aa0e12bf828918aa16a7d456a1366b40)), closes [#330](https://github.com/peaceiris/actions-gh-pages/issues/330)
### deps
* Add eslint plugins for prettier (#323) ([6b188a8](https://github.com/peaceiris/actions-gh-pages/commit/6b188a80225f18bbcdc7cf5f708edacdf2190f40)), closes [#323](https://github.com/peaceiris/actions-gh-pages/issues/323)
* bump @actions/github from 2.1.1 to 2.2.0 (#287) ([d6f110c](https://github.com/peaceiris/actions-gh-pages/commit/d6f110ce1e8b94e7ba3786e3d3bdf6858a8d0e06)), closes [#287](https://github.com/peaceiris/actions-gh-pages/issues/287)
* bump @actions/github from 2.2.0 to 3.0.0 (#342) ([3721310](https://github.com/peaceiris/actions-gh-pages/commit/37213103b17e431217c197945d16fc9dc0cc44bf)), closes [#342](https://github.com/peaceiris/actions-gh-pages/issues/342)
* bump @actions/github from 3.0.0 to 4.0.0 (#372) ([4fd6bd9](https://github.com/peaceiris/actions-gh-pages/commit/4fd6bd94b693b5734ae0ba84ef14e6813bb9d67d)), closes [#372](https://github.com/peaceiris/actions-gh-pages/issues/372)
* bump @types/jest from 25.2.1 to 25.2.2 (#299) ([df4a516](https://github.com/peaceiris/actions-gh-pages/commit/df4a516dab432cb497694c4cf45ad472f8294f07)), closes [#299](https://github.com/peaceiris/actions-gh-pages/issues/299)
* bump @types/jest from 25.2.2 to 25.2.3 (#310) ([5a8b86f](https://github.com/peaceiris/actions-gh-pages/commit/5a8b86ffc36586f60e5a3c55d1081c5a98b5a788)), closes [#310](https://github.com/peaceiris/actions-gh-pages/issues/310)
* bump @types/jest from 25.2.3 to 26.0.0 (#346) ([7ddf1f7](https://github.com/peaceiris/actions-gh-pages/commit/7ddf1f7f9009f1705ef5d83a5d1b1bfd8de02729)), closes [#346](https://github.com/peaceiris/actions-gh-pages/issues/346)
* bump @types/jest from 26.0.0 to 26.0.3 (#367) ([31b8c32](https://github.com/peaceiris/actions-gh-pages/commit/31b8c32f32fa1b2ea8f9274237e7062f2c437b8b)), closes [#367](https://github.com/peaceiris/actions-gh-pages/issues/367)
* bump @types/jest from 26.0.3 to 26.0.4 (#380) ([b882ee3](https://github.com/peaceiris/actions-gh-pages/commit/b882ee3b2a0d236e04e53290df2795306e43ae80)), closes [#380](https://github.com/peaceiris/actions-gh-pages/issues/380)
* bump @types/js-yaml from 3.12.3 to 3.12.4 (#301) ([489eacc](https://github.com/peaceiris/actions-gh-pages/commit/489eaccb268dd77d3685609841e0467e0e3329fd)), closes [#301](https://github.com/peaceiris/actions-gh-pages/issues/301)
* bump @types/node from 12.12.37 to 12.12.38 (#284) ([f621c70](https://github.com/peaceiris/actions-gh-pages/commit/f621c70917d7eebb43449691d750c7966a2e7d64)), closes [#284](https://github.com/peaceiris/actions-gh-pages/issues/284)
* bump @types/node from 12.12.38 to 12.12.41 (#315) ([a4f1f94](https://github.com/peaceiris/actions-gh-pages/commit/a4f1f945d96a7a1d22346d57ec17731466106330)), closes [#315](https://github.com/peaceiris/actions-gh-pages/issues/315)
* bump @types/node from 12.12.41 to 12.12.42 (#316) ([e150ced](https://github.com/peaceiris/actions-gh-pages/commit/e150cedd9678abe94016d55ec0281b3153e88844)), closes [#316](https://github.com/peaceiris/actions-gh-pages/issues/316)
* bump @types/node from 12.12.42 to 12.12.43 (#328) ([a17e9d4](https://github.com/peaceiris/actions-gh-pages/commit/a17e9d437e95afed23f8f84de4f87b0984b5466e)), closes [#328](https://github.com/peaceiris/actions-gh-pages/issues/328)
* bump @types/node from 12.12.43 to 12.12.44 (#340) ([215b80c](https://github.com/peaceiris/actions-gh-pages/commit/215b80c84bd53b69051469d74e2c00cd7ea3f143)), closes [#340](https://github.com/peaceiris/actions-gh-pages/issues/340)
* bump @types/node from 12.12.44 to 12.12.45 (#345) ([a117f83](https://github.com/peaceiris/actions-gh-pages/commit/a117f832ce1dbefef9f8cb2ef45984b2eacef3f4)), closes [#345](https://github.com/peaceiris/actions-gh-pages/issues/345)
* bump @types/node from 12.12.45 to 12.12.47 (#347) ([852c3a3](https://github.com/peaceiris/actions-gh-pages/commit/852c3a3ca67bc00f225c607826ad3c9e5c8f4e4d)), closes [#347](https://github.com/peaceiris/actions-gh-pages/issues/347)
* bump @types/node from 12.12.47 to 12.12.48 (#379) ([ef42af2](https://github.com/peaceiris/actions-gh-pages/commit/ef42af2aefe61c44e432aae82bf67b9a824e7dc2)), closes [#379](https://github.com/peaceiris/actions-gh-pages/issues/379)
* bump @typescript-eslint/eslint-plugin from 2.30.0 to 2.31.0 (#281) ([83dbf81](https://github.com/peaceiris/actions-gh-pages/commit/83dbf819fbc6eb7fb761cdbf04388742abb33479)), closes [#281](https://github.com/peaceiris/actions-gh-pages/issues/281)
* bump @typescript-eslint/eslint-plugin from 2.31.0 to 2.32.0 (#292) ([d307375](https://github.com/peaceiris/actions-gh-pages/commit/d30737529f6d979cb2897284381e1d19c29d067a)), closes [#292](https://github.com/peaceiris/actions-gh-pages/issues/292)
* bump @typescript-eslint/eslint-plugin from 2.32.0 to 2.33.0 (#298) ([d8522ee](https://github.com/peaceiris/actions-gh-pages/commit/d8522eea61493844fb74db00f40a74f2fbe6d192)), closes [#298](https://github.com/peaceiris/actions-gh-pages/issues/298)
* bump @typescript-eslint/eslint-plugin from 2.33.0 to 2.34.0 (#311) ([2076093](https://github.com/peaceiris/actions-gh-pages/commit/2076093b9327451fdb6b692b0212826f4be17cb9)), closes [#311](https://github.com/peaceiris/actions-gh-pages/issues/311)
* bump @typescript-eslint/parser from 2.30.0 to 2.31.0 (#280) ([cbe2833](https://github.com/peaceiris/actions-gh-pages/commit/cbe2833e9b8a2c892d0e982736d859e23c32ec96)), closes [#280](https://github.com/peaceiris/actions-gh-pages/issues/280)
* bump @typescript-eslint/parser from 2.31.0 to 2.32.0 (#291) ([e53cc4c](https://github.com/peaceiris/actions-gh-pages/commit/e53cc4cb81389ccd5df1623432f67acef1f4bd75)), closes [#291](https://github.com/peaceiris/actions-gh-pages/issues/291)
* bump @typescript-eslint/parser from 2.32.0 to 2.33.0 (#295) ([cf2e9ed](https://github.com/peaceiris/actions-gh-pages/commit/cf2e9edd2ab4bd7aae5229292462e81b67bb35b3)), closes [#295](https://github.com/peaceiris/actions-gh-pages/issues/295)
* bump @typescript-eslint/parser from 2.33.0 to 2.34.0 (#307) ([e1eecfc](https://github.com/peaceiris/actions-gh-pages/commit/e1eecfc328a619462f51147c4c45e2d328b3df5d)), closes [#307](https://github.com/peaceiris/actions-gh-pages/issues/307)
* bump @zeit/ncc from 0.22.1 to 0.22.2 (#308) ([c50767d](https://github.com/peaceiris/actions-gh-pages/commit/c50767dbfead29ef6bed2bc12e366aad237c59da)), closes [#308](https://github.com/peaceiris/actions-gh-pages/issues/308)
* bump @zeit/ncc from 0.22.2 to 0.22.3 (#321) ([fcbee38](https://github.com/peaceiris/actions-gh-pages/commit/fcbee383554f244f698aa55d8c277436fc24b1aa)), closes [#321](https://github.com/peaceiris/actions-gh-pages/issues/321)
* bump eslint-plugin-jest from 23.10.0 to 23.11.0 (#293) ([859ffbd](https://github.com/peaceiris/actions-gh-pages/commit/859ffbd0d0c3b21d8b85c37188078341575d9382)), closes [#293](https://github.com/peaceiris/actions-gh-pages/issues/293)
* bump eslint-plugin-jest from 23.11.0 to 23.12.0 (#302) ([9597f4c](https://github.com/peaceiris/actions-gh-pages/commit/9597f4c0a9a0dff27658a7ffb092ca222f62efed)), closes [#302](https://github.com/peaceiris/actions-gh-pages/issues/302)
* bump eslint-plugin-jest from 23.12.0 to 23.13.0 (#303) ([31d3feb](https://github.com/peaceiris/actions-gh-pages/commit/31d3feb0ee67298e9ac9218b716d516123be9a64)), closes [#303](https://github.com/peaceiris/actions-gh-pages/issues/303)
* bump eslint-plugin-jest from 23.13.0 to 23.13.1 (#304) ([dcdf5dd](https://github.com/peaceiris/actions-gh-pages/commit/dcdf5ddc8b0b0ff2b59c6abd99a80b84ff9737b4)), closes [#304](https://github.com/peaceiris/actions-gh-pages/issues/304)
* bump eslint-plugin-jest from 23.13.1 to 23.13.2 (#325) ([fef0123](https://github.com/peaceiris/actions-gh-pages/commit/fef0123d212bf1f2ef37fa762bae63825b62ccd6)), closes [#325](https://github.com/peaceiris/actions-gh-pages/issues/325)
* bump eslint-plugin-jest from 23.13.2 to 23.16.0 (#361) ([b6801e6](https://github.com/peaceiris/actions-gh-pages/commit/b6801e6334bc9eb197a9efe8fe4c6576c467d9e5)), closes [#361](https://github.com/peaceiris/actions-gh-pages/issues/361)
* bump eslint-plugin-jest from 23.16.0 to 23.17.1 (#364) ([a72f521](https://github.com/peaceiris/actions-gh-pages/commit/a72f52102f14f9336d047b98462fca9ca1e67baf)), closes [#364](https://github.com/peaceiris/actions-gh-pages/issues/364)
* bump eslint-plugin-jest from 23.17.1 to 23.18.0 (#378) ([f2192db](https://github.com/peaceiris/actions-gh-pages/commit/f2192db227137977627bc563901aa3eb8c0dacbf)), closes [#378](https://github.com/peaceiris/actions-gh-pages/issues/378)
* bump eslint-plugin-jest from 23.8.2 to 23.9.0 (#278) ([5b29ffa](https://github.com/peaceiris/actions-gh-pages/commit/5b29ffa40d5a99a66f4fba895d86aede7c641663)), closes [#278](https://github.com/peaceiris/actions-gh-pages/issues/278)
* bump eslint-plugin-jest from 23.9.0 to 23.10.0 (#289) ([fd82b38](https://github.com/peaceiris/actions-gh-pages/commit/fd82b38c083cb2bffb0b40862df523c3b61f1314)), closes [#289](https://github.com/peaceiris/actions-gh-pages/issues/289)
* bump eslint-plugin-prettier from 3.1.3 to 3.1.4 (#351) ([5d0c4db](https://github.com/peaceiris/actions-gh-pages/commit/5d0c4dbf3584e1e8adae859cf566304bbef9d0bd)), closes [#351](https://github.com/peaceiris/actions-gh-pages/issues/351)
* bump git from 2.26.2 to 2.27.0 (#331) ([73cf1d1](https://github.com/peaceiris/actions-gh-pages/commit/73cf1d15d9eec3228688911bfcb5cad7a98af1de)), closes [#331](https://github.com/peaceiris/actions-gh-pages/issues/331)
* bump jest-circus from 25.5.4 to 26.0.0 (#282) ([c5a0e44](https://github.com/peaceiris/actions-gh-pages/commit/c5a0e44f79522180ef23e04bc437a57938a3ddb6)), closes [#282](https://github.com/peaceiris/actions-gh-pages/issues/282)
* bump jest-circus from 26.0.0 to 26.0.1 (#283) ([4b44fa2](https://github.com/peaceiris/actions-gh-pages/commit/4b44fa2951a2c33534ee51d97c37f56cc558bf29)), closes [#283](https://github.com/peaceiris/actions-gh-pages/issues/283)
* bump jest-circus from 26.0.1 to 26.1.0 (#365) ([89628f0](https://github.com/peaceiris/actions-gh-pages/commit/89628f03108f88df9e013d5fc38edb2e0393c30f)), closes [#365](https://github.com/peaceiris/actions-gh-pages/issues/365)
* bump js-yaml from 3.13.1 to 3.14.0 (#320) ([89c0c9c](https://github.com/peaceiris/actions-gh-pages/commit/89c0c9cbfa4ed82d2a0394603eb9755dd301cbf3)), closes [#320](https://github.com/peaceiris/actions-gh-pages/issues/320)
* bump lint-staged from 10.2.10 to 10.2.11 (#354) ([3971a95](https://github.com/peaceiris/actions-gh-pages/commit/3971a95d5a8791f689855a603bd3a185fd51b669)), closes [#354](https://github.com/peaceiris/actions-gh-pages/issues/354)
* bump lint-staged from 10.2.2 to 10.2.4 (#306) ([f0fa0c2](https://github.com/peaceiris/actions-gh-pages/commit/f0fa0c21ed2166f5deda1f2332f352d1fb3f89d9)), closes [#306](https://github.com/peaceiris/actions-gh-pages/issues/306)
* bump lint-staged from 10.2.4 to 10.2.6 (#317) ([64f3c7f](https://github.com/peaceiris/actions-gh-pages/commit/64f3c7fc7f9d275599f8370415d8e57b5ff93705)), closes [#317](https://github.com/peaceiris/actions-gh-pages/issues/317)
* bump lint-staged from 10.2.6 to 10.2.7 (#327) ([fe5636c](https://github.com/peaceiris/actions-gh-pages/commit/fe5636cf9590ebe01679f64b7b359c74c71ebe03)), closes [#327](https://github.com/peaceiris/actions-gh-pages/issues/327)
* bump lint-staged from 10.2.7 to 10.2.8 (#337) ([1f596ab](https://github.com/peaceiris/actions-gh-pages/commit/1f596ab2b7992db213bae698af5ac00f1aaf644e)), closes [#337](https://github.com/peaceiris/actions-gh-pages/issues/337)
* bump lint-staged from 10.2.8 to 10.2.9 (#338) ([96f4391](https://github.com/peaceiris/actions-gh-pages/commit/96f4391cd54fe23957e72cc42aec60cd5a43cb2b)), closes [#338](https://github.com/peaceiris/actions-gh-pages/issues/338)
* bump lint-staged from 10.2.9 to 10.2.10 (#350) ([738b4de](https://github.com/peaceiris/actions-gh-pages/commit/738b4dea9f4f6b6d8d04b384b89ffe91b2e8b9d3)), closes [#350](https://github.com/peaceiris/actions-gh-pages/issues/350)
* bump node from 12.16.3 to 12.17.0 (#332) ([ce787cf](https://github.com/peaceiris/actions-gh-pages/commit/ce787cf0519f58fd03bfc967e6e8c1df46d028e1)), closes [#332](https://github.com/peaceiris/actions-gh-pages/issues/332)
* bump node from 12.17.0 to 12.18.0 (#335) ([929a7d0](https://github.com/peaceiris/actions-gh-pages/commit/929a7d0a6aee6813b6b6e7e7a9547676f1d52e8d)), closes [#335](https://github.com/peaceiris/actions-gh-pages/issues/335)
* bump node from 12.18.0 to 12.18.1 (#356) ([2165a2b](https://github.com/peaceiris/actions-gh-pages/commit/2165a2b5fcda87928bfd53d549fca96d9b346565)), closes [#356](https://github.com/peaceiris/actions-gh-pages/issues/356)
* bump node from 12.18.1 to 12.18.2 (#376) ([c6eab41](https://github.com/peaceiris/actions-gh-pages/commit/c6eab4153bb1e9603b6599ce37aa10647c70d6d0)), closes [#376](https://github.com/peaceiris/actions-gh-pages/issues/376)
* bump standard-version from 7.1.0 to 8.0.0 (#286) ([8380af7](https://github.com/peaceiris/actions-gh-pages/commit/8380af7d49a5567cf2300088dbd58dd9f8537b58)), closes [#286](https://github.com/peaceiris/actions-gh-pages/issues/286)
* bump ts-jest from 25.4.0 to 25.5.0 (#285) ([377bddc](https://github.com/peaceiris/actions-gh-pages/commit/377bddc67b49f5a5f88724850ec8224103ff7447)), closes [#285](https://github.com/peaceiris/actions-gh-pages/issues/285)
* bump ts-jest from 25.5.0 to 25.5.1 (#290) ([ce66f63](https://github.com/peaceiris/actions-gh-pages/commit/ce66f63638ff5beb1da6d3a6aa99c7ff7b0e824d)), closes [#290](https://github.com/peaceiris/actions-gh-pages/issues/290)
* bump typescript from 3.8.3 to 3.9.2 (#294) ([8cb34fe](https://github.com/peaceiris/actions-gh-pages/commit/8cb34fe1e515a6b5891fc3124a02995863e67c3e)), closes [#294](https://github.com/peaceiris/actions-gh-pages/issues/294)
* bump typescript from 3.9.2 to 3.9.3 (#314) ([54e6a6f](https://github.com/peaceiris/actions-gh-pages/commit/54e6a6f17245c171ad28062086337a247e203a3a)), closes [#314](https://github.com/peaceiris/actions-gh-pages/issues/314)
* bump typescript from 3.9.3 to 3.9.5 (#343) ([2d9155e](https://github.com/peaceiris/actions-gh-pages/commit/2d9155e27f768eb70ce347c021e176ee9e31aac7)), closes [#343](https://github.com/peaceiris/actions-gh-pages/issues/343)
* bump typescript from 3.9.5 to 3.9.6 (#374) ([ad23393](https://github.com/peaceiris/actions-gh-pages/commit/ad23393e2439c2612c01ed79b7ae625dca5b9e80)), closes [#374](https://github.com/peaceiris/actions-gh-pages/issues/374)
### docs
* Add ubuntu-20.04 ([3de5b23](https://github.com/peaceiris/actions-gh-pages/commit/3de5b2308f0e86ffe1683fc80b8e4bc4d229344b))
* Add use case (#371) ([f86ecdf](https://github.com/peaceiris/actions-gh-pages/commit/f86ecdfe860e15b50844cbf7c49e5bbbdfb3b560)), closes [#371](https://github.com/peaceiris/actions-gh-pages/issues/371)
* bump actions/cache from v1 to v2 ([688a3b3](https://github.com/peaceiris/actions-gh-pages/commit/688a3b3d0c753aa3de216adecbf571b5518702ab))
* bump actions/setup-node from v1 to v2 ([d2b7688](https://github.com/peaceiris/actions-gh-pages/commit/d2b7688ae305ac4fbb9974684b211bc96152cdd7))
* bump hugo to 0.71.1 ([3203c05](https://github.com/peaceiris/actions-gh-pages/commit/3203c05a3af8d0c0323aad8603748b9423bf8ab3))
* enhance external repository section ([938e1fa](https://github.com/peaceiris/actions-gh-pages/commit/938e1fa9f5add2bb580687ed980ee031d6506768)), closes [#245](https://github.com/peaceiris/actions-gh-pages/issues/245) [#318](https://github.com/peaceiris/actions-gh-pages/issues/318)
* Fix image size ([c639d96](https://github.com/peaceiris/actions-gh-pages/commit/c639d964e8e41afd4027c60e7ca4e7001bc1eb30))
* remove Dependabot status badge ([6cad446](https://github.com/peaceiris/actions-gh-pages/commit/6cad446381e55725049b2be9c37f7a1cd57c254e))
* Remove feed badge ([e27e4b7](https://github.com/peaceiris/actions-gh-pages/commit/e27e4b71406226b838bba743da389e750fd4e7cc))
* remove gitbook (#357) ([51c7823](https://github.com/peaceiris/actions-gh-pages/commit/51c782389ac9622c164fc3af2c86c7d26d6eb749)), closes [#357](https://github.com/peaceiris/actions-gh-pages/issues/357)
* remove link to v2 ([58b4bf3](https://github.com/peaceiris/actions-gh-pages/commit/58b4bf398144cdfeee6137f447993e145bfbf6de))
* update Hugo workflow example ([ea6d487](https://github.com/peaceiris/actions-gh-pages/commit/ea6d487bc7f138e3e0124d47d540474ca58c54cc))
* Use yarn install --frozen-lockfile (#288) ([a820967](https://github.com/peaceiris/actions-gh-pages/commit/a8209677e6bb059b97347a797af38d2202a186b1)), closes [#288](https://github.com/peaceiris/actions-gh-pages/issues/288)
### feat
* enhance log message (#383) ([2e97684](https://github.com/peaceiris/actions-gh-pages/commit/2e976845a683a2a44219b06cf6f30f068658c987)), closes [#383](https://github.com/peaceiris/actions-gh-pages/issues/383) [#87](https://github.com/peaceiris/actions-gh-pages/issues/87) [#359](https://github.com/peaceiris/actions-gh-pages/issues/359)
### fix
* order of checks in setGithubToken (#382) ([31cdbe5](https://github.com/peaceiris/actions-gh-pages/commit/31cdbe5222e7cd3f91a1d75bd38b0589a8fb8c3d)), closes [#382](https://github.com/peaceiris/actions-gh-pages/issues/382) [#358](https://github.com/peaceiris/actions-gh-pages/issues/358) [#359](https://github.com/peaceiris/actions-gh-pages/issues/359)
## [3.6.1](https://github.com/peaceiris/actions-gh-pages/compare/v3.6.0...v3.6.1) (2020-05-04)
### docs
* Add example image for commit_message ([f559ed8](https://github.com/peaceiris/actions-gh-pages/commit/f559ed8889a7ba2364757bc7a97b0491263147ff))
### feat
* Fold logs using core.startGroup() (#277) ([db3e60d](https://github.com/peaceiris/actions-gh-pages/commit/db3e60d230c7ebcd5342990f0ffc5af0ed1f4296)), closes [#277](https://github.com/peaceiris/actions-gh-pages/issues/277)
### test
* Add test case for getCommitMessage() (#276) ([5041814](https://github.com/peaceiris/actions-gh-pages/commit/504181401bb2df2de020ed72a7f2b4f8942bcb77)), closes [#276](https://github.com/peaceiris/actions-gh-pages/issues/276)
# [3.6.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.10...v3.6.0) (2020-05-04)
### chore
* Enhance style ([750c807](https://github.com/peaceiris/actions-gh-pages/commit/750c807fa1ecf9d3d455cfd0fb5533442c660a1e))
### ci
* Add test-ubuntu-20.04 job (#270) ([7501463](https://github.com/peaceiris/actions-gh-pages/commit/75014632413b319cb87db5b3e54bba2d6a21ac05)), closes [#270](https://github.com/peaceiris/actions-gh-pages/issues/270) [#268](https://github.com/peaceiris/actions-gh-pages/issues/268)
* use github_token ([9d27fac](https://github.com/peaceiris/actions-gh-pages/commit/9d27fac8dcdc50937d59b3068c59acf257ad2398))
### deps
* bump @actions/core from 1.2.3 to 1.2.4 (#265) ([dd1933a](https://github.com/peaceiris/actions-gh-pages/commit/dd1933a7b4b77a06b1995b0e8c40b6c219f32550)), closes [#265](https://github.com/peaceiris/actions-gh-pages/issues/265)
* bump jest from 25.5.2 to 25.5.3 (#267) ([e782e1d](https://github.com/peaceiris/actions-gh-pages/commit/e782e1d32332c2e99058a039dd5caaf0533d0af6)), closes [#267](https://github.com/peaceiris/actions-gh-pages/issues/267)
* bump jest from 25.5.3 to 25.5.4 (#272) ([ae34186](https://github.com/peaceiris/actions-gh-pages/commit/ae34186caa187c2960bae6d656f6ef69c6aa0fba)), closes [#272](https://github.com/peaceiris/actions-gh-pages/issues/272)
* bump jest-circus from 25.5.2 to 25.5.3 (#266) ([c12a4b1](https://github.com/peaceiris/actions-gh-pages/commit/c12a4b1908457ab10af84e0947b66af3f868790c)), closes [#266](https://github.com/peaceiris/actions-gh-pages/issues/266)
* bump jest-circus from 25.5.3 to 25.5.4 (#271) ([a5d411b](https://github.com/peaceiris/actions-gh-pages/commit/a5d411bf285983883daecb16787a8f6549da66d8)), closes [#271](https://github.com/peaceiris/actions-gh-pages/issues/271)
* bump lint-staged from 10.2.0 to 10.2.1 (#264) ([0809306](https://github.com/peaceiris/actions-gh-pages/commit/08093066ac77639e402a4b60492a7759c395ba36)), closes [#264](https://github.com/peaceiris/actions-gh-pages/issues/264)
* bump lint-staged from 10.2.1 to 10.2.2 (#269) ([b9cccec](https://github.com/peaceiris/actions-gh-pages/commit/b9cccec41e2e47ef704d34a7409dc07a50e32d46)), closes [#269](https://github.com/peaceiris/actions-gh-pages/issues/269)
### feat
* Add full_commit_message (#275) ([0b7411e](https://github.com/peaceiris/actions-gh-pages/commit/0b7411e2cf05b033f6766798560d02e932e01bd2)), closes [#275](https://github.com/peaceiris/actions-gh-pages/issues/275) [#274](https://github.com/peaceiris/actions-gh-pages/issues/274)
## [3.5.10](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.9...v3.5.10) (2020-04-30)
### deps
* bump jest from 25.5.1 to 25.5.2 (#260) ([714f710](https://github.com/peaceiris/actions-gh-pages/commit/714f7109225b609d3303bb0cd6f459690a9165b6)), closes [#260](https://github.com/peaceiris/actions-gh-pages/issues/260)
* bump jest-circus from 25.5.1 to 25.5.2 (#259) ([813be06](https://github.com/peaceiris/actions-gh-pages/commit/813be0645e175e6e475ada4f9cc922daeeade00a)), closes [#259](https://github.com/peaceiris/actions-gh-pages/issues/259)
### docs
* Add ubuntu-16.04 ([d9f616f](https://github.com/peaceiris/actions-gh-pages/commit/d9f616f4a278b6c334ce6dea09e69ba698459b38)), closes [#263](https://github.com/peaceiris/actions-gh-pages/issues/263)
* bump actions/setup-python from v1 to v2 (#262) ([029c1a0](https://github.com/peaceiris/actions-gh-pages/commit/029c1a08f9594e3b2c581d78c258cc8e9c66f96c)), closes [#262](https://github.com/peaceiris/actions-gh-pages/issues/262)
* bump python from 3.6 to 3.8 ([eafac7a](https://github.com/peaceiris/actions-gh-pages/commit/eafac7a3ef405ea76543c2c7995b64a19a1695c0))
* change to job level defaults ([20d80bc](https://github.com/peaceiris/actions-gh-pages/commit/20d80bcd8cdfda9728f3c0befe2aa5052209ea50))
* Enhance Python workflow example (#261) ([e4462d9](https://github.com/peaceiris/actions-gh-pages/commit/e4462d9bb679154cb07cca446c8e12c692610838)), closes [#261](https://github.com/peaceiris/actions-gh-pages/issues/261)
* Enhance Supported Platforms ([91e6658](https://github.com/peaceiris/actions-gh-pages/commit/91e6658ef01bbd482a965675988a765faad5fce5))
### feat
* Support ubuntu-16.04 (#263) ([e76c874](https://github.com/peaceiris/actions-gh-pages/commit/e76c874d85f0c0e45f3602fe4a85a15feb87610c)), closes [#263](https://github.com/peaceiris/actions-gh-pages/issues/263)
## [3.5.9](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.8...v3.5.9) (2020-04-29)
### chore
* bump node from 12.16.2 to 12.16.3 ([e5aa21b](https://github.com/peaceiris/actions-gh-pages/commit/e5aa21b8a847df106ce694432a6cac78300266a3))
### deps
* [security] bump @actions/http-client from 1.0.6 to 1.0.8 (#258) ([d217882](https://github.com/peaceiris/actions-gh-pages/commit/d2178821cb5968f5b7c818210297f3dbeea3114c)), closes [#258](https://github.com/peaceiris/actions-gh-pages/issues/258)
* bump @actions/exec from 1.0.3 to 1.0.4 (#254) ([6cb5962](https://github.com/peaceiris/actions-gh-pages/commit/6cb5962c014ba1196680337447c834590d907bde)), closes [#254](https://github.com/peaceiris/actions-gh-pages/issues/254)
* bump jest from 25.5.0 to 25.5.1 (#257) ([6462e1b](https://github.com/peaceiris/actions-gh-pages/commit/6462e1bf5e8ba9325ae66bacba198b12c7e101ed)), closes [#257](https://github.com/peaceiris/actions-gh-pages/issues/257)
* bump jest-circus from 25.5.0 to 25.5.1 (#256) ([051ddfc](https://github.com/peaceiris/actions-gh-pages/commit/051ddfc79a0bbbdd8e623367741645052c63fb9a)), closes [#256](https://github.com/peaceiris/actions-gh-pages/issues/256)
* bump node from 12.16.2 to 12.16.3 (#255) ([f191fb8](https://github.com/peaceiris/actions-gh-pages/commit/f191fb81878aaa8657d346e9b3a97a4ad625939d)), closes [#255](https://github.com/peaceiris/actions-gh-pages/issues/255)
* bump prettier from 2.0.4 to 2.0.5 (#253) ([33b82d2](https://github.com/peaceiris/actions-gh-pages/commit/33b82d2be041389aa51ca38f09cf6e79a9129035)), closes [#253](https://github.com/peaceiris/actions-gh-pages/issues/253)
## [3.5.8](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.7...v3.5.8) (2020-04-29)

31
Dockerfile Normal file
View File

@ -0,0 +1,31 @@
ARG NODE_VERSION
FROM node:${NODE_VERSION}-buster-slim
SHELL ["/bin/bash", "-l", "-c"]
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev autoconf \
ca-certificates \
wget \
ssh \
vim && \
rm -rf /var/lib/apt/lists/* && \
npm i -g npm
WORKDIR /git
ENV GIT_VERSION="2.26.2"
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
rm "./v${GIT_VERSION}.tar.gz" && \
cd "./git-${GIT_VERSION}" && \
make configure && \
./configure --prefix=/usr && \
make all && \
make install
WORKDIR /repo
CMD [ "bash" ]

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Shohei Ueda (peaceiris)
Copyright (c) 2020 Shohei Ueda (peaceiris)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

36
Makefile Normal file
View File

@ -0,0 +1,36 @@
cmd := "bash"
msg := ""
IMAGE_NAME := actions_github_pages_dev:latest
NODE_VERSION := $(shell cat ./.nvmrc)
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_CI := docker run --rm -v ${PWD}:/repo $(IMAGE_NAME)
.PHONY: build
build:
$(DOCKER_BUILD)
.PHONY: run
run:
$(DOCKER_RUN) $(cmd)
.PHONY: cirun
cirun:
$(DOCKER_RUN_CI) $(cmd)
.PHONY: test
test:
$(DOCKER_RUN) npm test
.PHONY: commit
commit:
$(DOCKER_RUN) git commit -m "$(msg)"
.PHONY: all
all:
$(DOCKER_RUN) npm run all
.PHONY: ciall
ciall:
$(DOCKER_RUN_CI) npm run all

773
README.md

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
/* CSS */

View File

@ -1 +0,0 @@
// JavaScript

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>

View File

@ -1 +0,0 @@
/* CSS */

View File

@ -1 +0,0 @@
// JavaScript

View File

@ -1 +0,0 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

View File

@ -1 +0,0 @@
<!-- issue template -->

View File

@ -1,7 +0,0 @@
# dependabot config
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily

View File

@ -1 +0,0 @@
name: 'Test'

View File

@ -1 +0,0 @@
/* CSS */

View File

@ -1 +0,0 @@
// JavaScript

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>

View File

@ -1 +0,0 @@
/* CSS */

View File

@ -1 +0,0 @@
// JavaScript

View File

@ -9,8 +9,9 @@ beforeEach(() => {
jest.resetModules();
process.stdout.write = jest.fn();
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc = yaml.safeLoad(
fs.readFileSync(__dirname + '/../action.yml', 'utf8')
);
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
process.env[envVar] = doc.inputs[name]['default'];
@ -18,8 +19,9 @@ beforeEach(() => {
});
afterEach(() => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc = yaml.safeLoad(
fs.readFileSync(__dirname + '/../action.yml', 'utf8')
);
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
console.debug(`delete ${envVar}\t${process.env[envVar]}`);
@ -42,7 +44,6 @@ function getInputsLog(authMethod: string, inps: Inputs): string {
[INFO] ${authMethod}: true
[INFO] PublishBranch: ${inps.PublishBranch}
[INFO] PublishDir: ${inps.PublishDir}
[INFO] DestinationDir: ${inps.DestinationDir}
[INFO] ExternalRepository: ${inps.ExternalRepository}
[INFO] AllowEmptyCommit: ${inps.AllowEmptyCommit}
[INFO] KeepFiles: ${inps.KeepFiles}
@ -50,12 +51,10 @@ function getInputsLog(authMethod: string, inps: Inputs): string {
[INFO] UserName: ${inps.UserName}
[INFO] UserEmail: ${inps.UserEmail}
[INFO] CommitMessage: ${inps.CommitMessage}
[INFO] FullCommitMessage: ${inps.FullCommitMessage}
[INFO] TagName: ${inps.TagName}
[INFO] TagMessage: ${inps.TagMessage}
[INFO] EnableJekyll (DisableNoJekyll): ${inps.DisableNoJekyll}
[INFO] CNAME: ${inps.CNAME}
[INFO] ExcludeAssets ${inps.ExcludeAssets}
`;
}
@ -111,7 +110,6 @@ describe('getInputs()', () => {
expect(inps.PersonalToken).toMatch('');
expect(inps.PublishBranch).toMatch('gh-pages');
expect(inps.PublishDir).toMatch('public');
expect(inps.DestinationDir).toMatch('');
expect(inps.ExternalRepository).toMatch('');
expect(inps.AllowEmptyCommit).toBe(false);
expect(inps.KeepFiles).toBe(false);
@ -119,12 +117,10 @@ describe('getInputs()', () => {
expect(inps.UserName).toMatch('');
expect(inps.UserEmail).toMatch('');
expect(inps.CommitMessage).toMatch('');
expect(inps.FullCommitMessage).toMatch('');
expect(inps.TagName).toMatch('');
expect(inps.TagMessage).toMatch('');
expect(inps.DisableNoJekyll).toBe(false);
expect(inps.CNAME).toMatch('');
expect(inps.ExcludeAssets).toMatch('.github');
});
test('get spec inputs', () => {
@ -133,7 +129,6 @@ describe('getInputs()', () => {
process.env['INPUT_PERSONAL_TOKEN'] = 'test_personal_token';
process.env['INPUT_PUBLISH_BRANCH'] = 'master';
process.env['INPUT_PUBLISH_DIR'] = 'out';
process.env['INPUT_DESTINATION_DIR'] = 'subdir';
process.env['INPUT_EXTERNAL_REPOSITORY'] = 'user/repo';
process.env['INPUT_ALLOW_EMPTY_COMMIT'] = 'true';
process.env['INPUT_KEEP_FILES'] = 'true';
@ -141,12 +136,10 @@ describe('getInputs()', () => {
process.env['INPUT_USER_NAME'] = 'username';
process.env['INPUT_USER_EMAIL'] = 'github@github.com';
process.env['INPUT_COMMIT_MESSAGE'] = 'feat: Add new feature';
process.env['INPUT_FULL_COMMIT_MESSAGE'] = 'feat: Add new feature';
process.env['INPUT_TAG_NAME'] = 'deploy-v1.2.3';
process.env['INPUT_TAG_MESSAGE'] = 'Deployment v1.2.3';
process.env['INPUT_DISABLE_NOJEKYLL'] = 'true';
process.env['INPUT_CNAME'] = 'github.com';
process.env['INPUT_EXCLUDE_ASSETS'] = '.github';
const inps: Inputs = getInputs();
@ -155,7 +148,6 @@ describe('getInputs()', () => {
expect(inps.PersonalToken).toMatch('test_personal_token');
expect(inps.PublishBranch).toMatch('master');
expect(inps.PublishDir).toMatch('out');
expect(inps.DestinationDir).toMatch('subdir');
expect(inps.ExternalRepository).toMatch('user/repo');
expect(inps.AllowEmptyCommit).toBe(true);
expect(inps.KeepFiles).toBe(true);
@ -163,18 +155,10 @@ describe('getInputs()', () => {
expect(inps.UserName).toMatch('username');
expect(inps.UserEmail).toMatch('github@github.com');
expect(inps.CommitMessage).toMatch('feat: Add new feature');
expect(inps.FullCommitMessage).toMatch('feat: Add new feature');
expect(inps.TagName).toMatch('deploy-v1.2.3');
expect(inps.TagMessage).toMatch('Deployment v1.2.3');
expect(inps.DisableNoJekyll).toBe(true);
expect(inps.CNAME).toMatch('github.com');
expect(inps.ExcludeAssets).toMatch('.github');
});
test('get spec inputs enable_jekyll', () => {
process.env['INPUT_ENABLE_JEKYLL'] = 'true';
const inps: Inputs = getInputs();
expect(inps.DisableNoJekyll).toBe(true);
});
test('throw error enable_jekyll or disable_nojekyll', () => {
@ -184,6 +168,6 @@ describe('getInputs()', () => {
expect(() => {
getInputs();
}).toThrow('Use either of enable_jekyll or disable_nojekyll');
}).toThrowError('Use either of enable_jekyll or disable_nojekyll');
});
});

View File

@ -1,27 +1,7 @@
import {
copyAssets,
setRepo,
getUserName,
getUserEmail,
setCommitAuthor,
getCommitMessage
} from '../src/git-utils';
import {getInputs} from '../src/get-inputs';
import {Inputs} from '../src/interfaces';
import {getWorkDirName, createDir} from '../src/utils';
import {getUserName, getUserEmail, setCommitAuthor} from '../src/git-utils';
import {getWorkDirName, createWorkDir} from '../src/utils';
import {CmdResult} from '../src/interfaces';
import * as exec from '@actions/exec';
import {cp, rm} from 'shelljs';
import path from 'path';
import fs from 'fs';
const testRoot = path.resolve(__dirname);
async function createTestDir(name: string): Promise<string> {
const date = new Date();
const unixTime = date.getTime();
return await getWorkDirName(`${unixTime}_${name}`);
}
beforeEach(() => {
jest.resetModules();
@ -34,126 +14,6 @@ afterEach(() => {
delete process.env['GITHUB_REPOSITORY'];
});
describe('copyAssets', () => {
let gitTempDir = '';
(async (): Promise<void> => {
const date = new Date();
const unixTime = date.getTime();
gitTempDir = await getWorkDirName(`${unixTime}_git`);
})();
beforeAll(async () => {
await createDir(gitTempDir);
process.chdir(gitTempDir);
await exec.exec('git', ['init']);
});
test('copy assets from publish_dir to root, delete .github', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_1'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '.github');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from publish_dir to root, delete .github,main.js', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_1'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '.github,main.js');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'main.js'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.js'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from publish_dir to root, delete nothing', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'main.js'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.js'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from root to root, delete .github', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
cp('-Rf', gitTempDir, publishDir);
await copyAssets(publishDir, destDir, '.github');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from root to root, delete nothing', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
cp('-Rf', gitTempDir, publishDir);
await copyAssets(publishDir, destDir, '');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test.todo('copy assets from root to subdir, delete .github');
test.todo('copy assets from root to subdir, delete .github,main.js');
test.todo('copy assets from root to subdir, delete nothing');
});
describe('setRepo()', () => {
test('throw error destination_dir should be a relative path', async () => {
process.env['INPUT_GITHUB_TOKEN'] = 'test_github_token';
process.env['INPUT_PUBLISH_BRANCH'] = 'gh-pages';
process.env['INPUT_PUBLISH_DIR'] = 'public';
process.env['INPUT_DESTINATION_DIR'] = '/subdir';
// process.env['INPUT_EXTERNAL_REPOSITORY'] = 'user/repo';
// process.env['INPUT_ALLOW_EMPTY_COMMIT'] = 'true';
// process.env['INPUT_KEEP_FILES'] = 'true';
// process.env['INPUT_FORCE_ORPHAN'] = 'true';
// process.env['INPUT_USER_NAME'] = 'username';
// process.env['INPUT_USER_EMAIL'] = 'github@github.com';
// process.env['INPUT_COMMIT_MESSAGE'] = 'feat: Add new feature';
// process.env['INPUT_FULL_COMMIT_MESSAGE'] = 'feat: Add new feature';
// process.env['INPUT_TAG_NAME'] = 'deploy-v1.2.3';
// process.env['INPUT_TAG_MESSAGE'] = 'Deployment v1.2.3';
// process.env['INPUT_DISABLE_NOJEKYLL'] = 'true';
// process.env['INPUT_CNAME'] = 'github.com';
process.env['INPUT_EXCLUDE_ASSETS'] = '.github';
const inps: Inputs = getInputs();
const remoteURL = 'https://x-access-token:pat@github.com/actions/pages.git';
const date = new Date();
const unixTime = date.getTime();
const workDir = await getWorkDirName(`${unixTime}`);
await expect(setRepo(inps, remoteURL, workDir)).rejects.toThrow(
'destination_dir should be a relative path'
);
});
});
describe('getUserName()', () => {
test('get default git user name', () => {
const userName = '';
@ -191,7 +51,7 @@ describe('setCommitAuthor()', () => {
})();
beforeEach(async () => {
await createDir(workDirName);
await createWorkDir(workDirName);
process.chdir(workDirName);
await exec.exec('git', ['init']);
});
@ -241,62 +101,16 @@ describe('setCommitAuthor()', () => {
test('throw error user_email is undefined', async () => {
const userName = 'custom-octocat';
const userEmail = '';
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_email is undefined');
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError(
'user_email is undefined'
);
});
test('throw error user_name is undefined', async () => {
const userName = '';
const userEmail = 'custom-octocat@github.com';
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_name is undefined');
});
});
describe('getCommitMessage()', () => {
test('get default message', () => {
const test = getCommitMessage('', '', '', 'actions/pages', 'commit_hash');
expect(test).toMatch('deploy: commit_hash');
});
test('get default message for external repository', () => {
const test = getCommitMessage(
'',
'',
'actions/actions.github.io',
'actions/pages',
'commit_hash'
);
expect(test).toMatch('deploy: actions/pages@commit_hash');
});
test('get custom message', () => {
const test = getCommitMessage('Custom msg', '', '', 'actions/pages', 'commit_hash');
expect(test).toMatch('Custom msg commit_hash');
});
test('get custom message for external repository', () => {
const test = getCommitMessage(
'Custom msg',
'',
'actions/actions.github.io',
'actions/pages',
'commit_hash'
);
expect(test).toMatch('Custom msg actions/pages@commit_hash');
});
test('get full custom message', () => {
const test = getCommitMessage('', 'Full custom msg', '', 'actions/pages', 'commit_hash');
expect(test).toMatch('Full custom msg');
});
test('get full custom message for external repository', () => {
const test = getCommitMessage(
'',
'Full custom msg',
'actions/actions.github.io',
'actions/pages',
'commit_hash'
);
expect(test).toMatch('Full custom msg');
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError(
'user_name is undefined'
);
});
});

View File

@ -1,37 +0,0 @@
import {setPersonalToken, setGithubToken} from '../src/set-tokens';
const OLD_ENV = process.env;
beforeEach(() => {
jest.resetModules();
process.env = {...OLD_ENV};
});
afterAll(() => {
process.env = OLD_ENV; // Restore old environment
});
describe('setGithubToken()', () => {
test('return remote url with GITHUB_TOKEN gh-pages', () => {
process.env.GITHUB_SERVER_URL = 'https://github.enterprise.server';
const expected = 'https://x-access-token:GITHUB_TOKEN@github.enterprise.server/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
'gh-pages',
'',
'refs/heads/master',
'push'
);
expect(test).toMatch(expected);
});
});
describe('setPersonalToken()', () => {
test('return remote url with personal access token', () => {
process.env.GITHUB_SERVER_URL = 'https://github.enterprise.server';
const expected = 'https://x-access-token:pat@github.enterprise.server/owner/repo.git';
const test = setPersonalToken('pat', 'owner/repo');
expect(test).toMatch(expected);
});
});

View File

@ -1,4 +1,8 @@
import {getPublishRepo, setPersonalToken, setGithubToken} from '../src/set-tokens';
import {
getPublishRepo,
setPersonalToken,
setGithubToken
} from '../src/set-tokens';
beforeEach(() => {
jest.resetModules();
@ -22,7 +26,8 @@ describe('getPublishRepo()', () => {
describe('setGithubToken()', () => {
test('return remote url with GITHUB_TOKEN gh-pages', () => {
const expected = 'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const expected =
'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
@ -35,7 +40,8 @@ describe('setGithubToken()', () => {
});
test('return remote url with GITHUB_TOKEN master', () => {
const expected = 'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const expected =
'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
@ -47,36 +53,17 @@ describe('setGithubToken()', () => {
expect(test).toMatch(expected);
});
test('return remote url with GITHUB_TOKEN gh-pages (RegExp)', () => {
const expected = 'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
'gh-pages',
'',
'refs/heads/gh-pages-base',
'push'
);
expect(test).toMatch(expected);
});
test('throw error gh-pages-base to gh-pages-base (RegExp)', () => {
test('throw error master to master', () => {
expect(() => {
setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
'gh-pages-base',
'master',
'',
'refs/heads/gh-pages-base',
'refs/heads/master',
'push'
);
}).toThrow('You deploy from gh-pages-base to gh-pages-base');
});
test('throw error master to master', () => {
expect(() => {
setGithubToken('GITHUB_TOKEN', 'owner/repo', 'master', '', 'refs/heads/master', 'push');
}).toThrow('You deploy from master to master');
}).toThrowError('You deploy from master to master');
});
test('throw error external repository with GITHUB_TOKEN', () => {
@ -89,14 +76,14 @@ describe('setGithubToken()', () => {
'refs/heads/master',
'push'
);
}).toThrow(`\
The generated GITHUB_TOKEN (github_token) does not support to push to an external repository.
Use deploy_key or personal_token.
`);
}).toThrowError(
'GITHUB_TOKEN does not support to push to an external repository'
);
});
test('return remote url with GITHUB_TOKEN pull_request', () => {
const expected = 'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const expected =
'https://x-access-token:GITHUB_TOKEN@github.com/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',

View File

@ -3,7 +3,7 @@ import fs from 'fs';
import {
getHomeDir,
getWorkDirName,
createDir,
createWorkDir,
addNoJekyll,
addCNAME,
skipOnFork
@ -51,11 +51,11 @@ describe('getWorkDirName()', () => {
});
});
describe('createDir()', () => {
test('create a directory', async () => {
describe('createWorkDir()', () => {
test('create work directory', async () => {
const unixTime = await getTime();
const workDirName = await getWorkDirName(`${unixTime}`);
await createDir(workDirName);
await createWorkDir(workDirName);
const test = fs.existsSync(workDirName);
expect(test).toBe(true);
});
@ -65,19 +65,33 @@ async function getWorkDir(): Promise<string> {
const unixTime = await getTime();
let workDir = '';
workDir = await getWorkDirName(`${unixTime}`);
await createDir(workDir);
await createWorkDir(workDir);
return workDir;
}
describe('addNoJekyll()', () => {
test('add .nojekyll', async () => {
test('add .nojekyll gh-pages', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, false);
await addNoJekyll(workDir, false, 'gh-pages');
const test = fs.existsSync(filepath);
expect(test).toBe(true);
fs.unlinkSync(filepath);
});
test('add .nojekyll master', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, false, 'master');
const test = fs.existsSync(filepath);
expect(test).toBe(true);
@ -92,21 +106,57 @@ describe('addNoJekyll()', () => {
const filepath = path.join(workDir, '.nojekyll');
fs.closeSync(fs.openSync(filepath, 'w'));
await addNoJekyll(workDir, false);
await addNoJekyll(workDir, false, 'master');
const test = fs.existsSync(filepath);
expect(test).toBe(true);
fs.unlinkSync(filepath);
});
test('not add .nojekyll disable_nojekyll', async () => {
test('not add .nojekyll disable_nojekyll gh-pages', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, true);
await addNoJekyll(workDir, true, 'gh-pages');
const test = fs.existsSync(filepath);
expect(test).toBe(false);
});
test('not add .nojekyll disable_nojekyll master', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, true, 'master');
const test = fs.existsSync(filepath);
expect(test).toBe(false);
});
test('not add .nojekyll other-branch', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, false, 'other-branch');
const test = fs.existsSync(filepath);
expect(test).toBe(false);
});
test('not add .nojekyll disable_nojekyll other-branch', async () => {
let workDir = '';
(async (): Promise<void> => {
workDir = await getWorkDir();
})();
const filepath = path.join(workDir, '.nojekyll');
await addNoJekyll(workDir, true, 'other-branch');
const test = fs.existsSync(filepath);
expect(test).toBe(false);
});

View File

@ -2,7 +2,7 @@ name: 'GitHub Pages action'
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
author: 'peaceiris'
runs:
using: 'node20'
using: 'node12'
main: 'lib/index.js'
branding:
icon: 'upload-cloud'
@ -25,10 +25,6 @@ inputs:
description: 'Set an input directory for deployment.'
required: false
default: 'public'
destination_dir:
description: 'Set an destination subdirectory for deployment.'
required: false
default: ''
external_repository:
description: 'Set an external repository (owner/repo).'
required: false
@ -51,10 +47,7 @@ inputs:
description: 'Set Git user.email'
required: false
commit_message:
description: 'Set a custom commit message with a triggered commit hash'
required: false
full_commit_message:
description: 'Set a custom full commit message without a triggered commit hash'
description: 'Set custom commit message'
required: false
tag_name:
description: 'Set tag name'
@ -67,13 +60,9 @@ inputs:
required: false
default: 'false'
disable_nojekyll:
description: 'An alias for enable_jekyll to disable adding .nojekyll file to a publishing branch'
description: 'An alias for enable_jekyll to disable adding .nojekyll file to master or gh-pages branches'
required: false
default: 'false'
cname:
description: 'Set custom domain'
required: false
exclude_assets:
description: 'Set files or directories to exclude from a publish directory.'
required: false
default: '.github'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

BIN
images/default-branch.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
images/user_repo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -8,4 +8,4 @@ module.exports = {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
};
}

1
lib/index.js Normal file

File diff suppressed because one or more lines are too long

16908
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +1,38 @@
{
"name": "actions-github-pages",
"version": "4.0.0",
"version": "3.5.8",
"description": "GitHub Actions for GitHub Pages",
"main": "lib/index.js",
"engines": {
"node": ">=v20.11.0",
"npm": ">=10.2.4"
"node": ">=12.16.2",
"npm": ">=6.14.4"
},
"scripts": {
"postinstall": "npx husky install",
"all": "npm run format && npm run lint && npm test",
"lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
"test": "jest --coverage --verbose --detectOpenHandles",
"build": "ncc build ./src/index.ts -o lib --minify",
"tsc": "tsc",
"format": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"release": "standard-version"
"format": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"release": "standard-version",
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "npm run update-deps; git remote prune origin"
}
},
"lint-staged": {
"{src,__tests__}/**/*.ts": [
"src/**/*.ts": [
"prettier --check",
"eslint"
],
"README.md": [
"npx doctoc@2.1.0 --github"
"npx doctoc@1.4.0 --github"
]
},
"repository": {
@ -47,33 +54,28 @@
},
"homepage": "https://github.com/peaceiris/actions-gh-pages#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"@actions/glob": "^0.5.0",
"@actions/io": "^1.1.2",
"@types/shelljs": "^0.8.11",
"shelljs": "^0.8.5"
"@actions/core": "^1.2.3",
"@actions/exec": "^1.0.3",
"@actions/github": "^2.1.1",
"@actions/io": "^1.0.2"
},
"devDependencies": {
"@types/jest": "^29.2.6",
"@types/js-yaml": "^4.0.5",
"@types/node": "~16",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jest-circus": "^29.3.1",
"js-yaml": "^4.1.0",
"lint-staged": "^13.1.0",
"prettier": "2.8.8",
"standard-version": "^9.1.1",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
"@types/jest": "^25.2.1",
"@types/js-yaml": "^3.12.3",
"@types/node": "~12",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@zeit/ncc": "^0.22.1",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.2",
"husky": "^4.2.5",
"jest": "^25.5.0",
"jest-circus": "^25.5.0",
"js-yaml": "^3.13.1",
"lint-staged": "^10.2.0",
"prettier": "2.0.4",
"standard-version": "^7.1.0",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
}
}

View File

@ -3,11 +3,9 @@
# fail on unset variables and command errors
set -eu -o pipefail # -x: is for debugging
DEFAULT_BRANCH="main"
CURRENT_BRANCH="$(git branch --show-current)"
if [ "${CURRENT_BRANCH}" != "${DEFAULT_BRANCH}" ]; then
echo "$0: Current branch ${CURRENT_BRANCH} is not ${DEFAULT_BRANCH}, continue? (y/n)"
if [ "${CURRENT_BRANCH}" != "master" ]; then
echo "$0: Current branch ${CURRENT_BRANCH} is not master, continue? (y/n)"
read -r res
if [ "${res}" = "n" ]; then
echo "$0: Stop script"
@ -16,7 +14,7 @@ if [ "${CURRENT_BRANCH}" != "${DEFAULT_BRANCH}" ]; then
fi
PRERELEASE_TYPE_LIST="prerelease prepatch preminor premajor"
if [ "${CURRENT_BRANCH}" != "${DEFAULT_BRANCH}" ]; then
if [ "${CURRENT_BRANCH}" != "master" ]; then
RELEASE_TYPE_LIST="${PRERELEASE_TYPE_LIST}"
else
RELEASE_TYPE_LIST="${PRERELEASE_TYPE_LIST} patch minor major"
@ -39,15 +37,15 @@ if [ "${res}" = "n" ]; then
fi
git fetch origin
if [ "${CURRENT_BRANCH}" != "${DEFAULT_BRANCH}" ]; then
if [ "${CURRENT_BRANCH}" != "master" ]; then
git pull origin "${CURRENT_BRANCH}"
else
git pull origin ${DEFAULT_BRANCH}
git pull origin master
git tag -d v3 || true
git pull origin --tags
fi
npm install
npm ci
mkdir ./lib
npm run build
@ -60,10 +58,10 @@ git rm ./lib/index.js
rm -rf ./lib
git commit -m "chore(release): Remove build assets [skip ci]"
if [ "${CURRENT_BRANCH}" != "${DEFAULT_BRANCH}" ]; then
if [ "${CURRENT_BRANCH}" != "master" ]; then
git push origin "${CURRENT_BRANCH}"
else
git push origin ${DEFAULT_BRANCH}
git push origin master
fi
TAG_NAME="v$(jq -r '.version' ./package.json)"

View File

@ -1,13 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>peaceiris/renovate-config"
],
"packageRules": [
{
"automerge": false,
"matchUpdateTypes": ["minor", "patch"],
"automergeStrategy": "squash"
}
]
}

View File

@ -15,7 +15,6 @@ export function showInputs(inps: Inputs): void {
[INFO] ${authMethod}: true
[INFO] PublishBranch: ${inps.PublishBranch}
[INFO] PublishDir: ${inps.PublishDir}
[INFO] DestinationDir: ${inps.DestinationDir}
[INFO] ExternalRepository: ${inps.ExternalRepository}
[INFO] AllowEmptyCommit: ${inps.AllowEmptyCommit}
[INFO] KeepFiles: ${inps.KeepFiles}
@ -23,22 +22,20 @@ export function showInputs(inps: Inputs): void {
[INFO] UserName: ${inps.UserName}
[INFO] UserEmail: ${inps.UserEmail}
[INFO] CommitMessage: ${inps.CommitMessage}
[INFO] FullCommitMessage: ${inps.FullCommitMessage}
[INFO] TagName: ${inps.TagName}
[INFO] TagMessage: ${inps.TagMessage}
[INFO] EnableJekyll (DisableNoJekyll): ${inps.DisableNoJekyll}
[INFO] CNAME: ${inps.CNAME}
[INFO] ExcludeAssets ${inps.ExcludeAssets}
`);
}
export function getInputs(): Inputs {
let useBuiltinJekyll = false;
const isBoolean = (param: string): boolean => (param || 'false').toUpperCase() === 'TRUE';
const enableJekyll: boolean = isBoolean(core.getInput('enable_jekyll'));
const disableNoJekyll: boolean = isBoolean(core.getInput('disable_nojekyll'));
const enableJekyll: boolean =
(core.getInput('enable_jekyll') || 'false').toUpperCase() === 'TRUE';
const disableNoJekyll: boolean =
(core.getInput('disable_nojekyll') || 'false').toUpperCase() === 'TRUE';
if (enableJekyll && disableNoJekyll) {
throw new Error(`Use either of enable_jekyll or disable_nojekyll`);
@ -54,20 +51,20 @@ export function getInputs(): Inputs {
PersonalToken: core.getInput('personal_token'),
PublishBranch: core.getInput('publish_branch'),
PublishDir: core.getInput('publish_dir'),
DestinationDir: core.getInput('destination_dir'),
ExternalRepository: core.getInput('external_repository'),
AllowEmptyCommit: isBoolean(core.getInput('allow_empty_commit')),
KeepFiles: isBoolean(core.getInput('keep_files')),
ForceOrphan: isBoolean(core.getInput('force_orphan')),
AllowEmptyCommit:
(core.getInput('allow_empty_commit') || 'false').toUpperCase() === 'TRUE',
KeepFiles:
(core.getInput('keep_files') || 'false').toUpperCase() === 'TRUE',
ForceOrphan:
(core.getInput('force_orphan') || 'false').toUpperCase() === 'TRUE',
UserName: core.getInput('user_name'),
UserEmail: core.getInput('user_email'),
CommitMessage: core.getInput('commit_message'),
FullCommitMessage: core.getInput('full_commit_message'),
TagName: core.getInput('tag_name'),
TagMessage: core.getInput('tag_message'),
DisableNoJekyll: useBuiltinJekyll,
CNAME: core.getInput('cname'),
ExcludeAssets: core.getInput('exclude_assets')
CNAME: core.getInput('cname')
};
return inps;

View File

@ -1,12 +1,11 @@
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as glob from '@actions/glob';
import * as github from '@actions/github';
import * as io from '@actions/io';
import path from 'path';
import fs from 'fs';
import {URL} from 'url';
import {Inputs, CmdResult} from './interfaces';
import {createDir} from './utils';
import {cp, rm} from 'shelljs';
import {createWorkDir} from './utils';
export async function createBranchForce(branch: string): Promise<void> {
await exec.exec('git', ['init']);
@ -14,79 +13,41 @@ export async function createBranchForce(branch: string): Promise<void> {
return;
}
export function getServerUrl(): URL {
return new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
}
export async function deleteExcludedAssets(destDir: string, excludeAssets: string): Promise<void> {
if (excludeAssets === '') return;
core.info(`[INFO] delete excluded assets`);
const excludedAssetNames: Array<string> = excludeAssets.split(',');
const excludedAssetPaths = ((): Array<string> => {
const paths: Array<string> = [];
for (const pattern of excludedAssetNames) {
paths.push(path.join(destDir, pattern));
}
return paths;
})();
const globber = await glob.create(excludedAssetPaths.join('\n'));
const files = await globber.glob();
for await (const file of globber.globGenerator()) {
core.info(`[INFO] delete ${file}`);
}
rm('-rf', files);
return;
}
export async function copyAssets(
publishDir: string,
destDir: string,
excludeAssets: string
workDir: string
): Promise<void> {
core.info(`[INFO] prepare publishing assets`);
if (!fs.existsSync(destDir)) {
core.info(`[INFO] create ${destDir}`);
await createDir(destDir);
const copyOpts = {recursive: true, force: true};
const files = fs.readdirSync(publishDir);
core.debug(`${files}`);
for await (const file of files) {
if (file.endsWith('.git') || file.endsWith('.github')) {
continue;
}
const filePath = path.join(publishDir, file);
await io.cp(filePath, `${workDir}/`, copyOpts);
core.info(`[INFO] copy ${file}`);
}
const dotGitPath = path.join(publishDir, '.git');
if (fs.existsSync(dotGitPath)) {
core.info(`[INFO] delete ${dotGitPath}`);
rm('-rf', dotGitPath);
}
core.info(`[INFO] copy ${publishDir} to ${destDir}`);
cp('-RfL', [`${publishDir}/*`, `${publishDir}/.*`], destDir);
await deleteExcludedAssets(destDir, excludeAssets);
return;
}
export async function setRepo(inps: Inputs, remoteURL: string, workDir: string): Promise<void> {
const publishDir = path.isAbsolute(inps.PublishDir)
? inps.PublishDir
: path.join(`${process.env.GITHUB_WORKSPACE}`, inps.PublishDir);
if (path.isAbsolute(inps.DestinationDir)) {
throw new Error('destination_dir should be a relative path');
}
const destDir = ((): string => {
if (inps.DestinationDir === '') {
return workDir;
} else {
return path.join(workDir, inps.DestinationDir);
}
})();
export async function setRepo(
inps: Inputs,
remoteURL: string,
workDir: string
): Promise<void> {
const publishDir = path.join(
`${process.env.GITHUB_WORKSPACE}`,
inps.PublishDir
);
core.info(`[INFO] ForceOrphan: ${inps.ForceOrphan}`);
if (inps.ForceOrphan) {
await createDir(destDir);
core.info(`[INFO] chdir ${workDir}`);
await createWorkDir(workDir);
process.chdir(workDir);
await createBranchForce(inps.PublishBranch);
await copyAssets(publishDir, destDir, inps.ExcludeAssets);
await copyAssets(publishDir, workDir);
return;
}
@ -105,41 +66,40 @@ export async function setRepo(inps: Inputs, remoteURL: string, workDir: string):
try {
result.exitcode = await exec.exec(
'git',
['clone', '--depth=1', '--single-branch', '--branch', inps.PublishBranch, remoteURL, workDir],
[
'clone',
'--depth=1',
'--single-branch',
'--branch',
inps.PublishBranch,
remoteURL,
workDir
],
options
);
if (result.exitcode === 0) {
await createDir(destDir);
process.chdir(workDir);
if (inps.KeepFiles) {
core.info('[INFO] Keep existing files');
} else {
core.info(`[INFO] clean up ${destDir}`);
core.info(`[INFO] chdir ${destDir}`);
process.chdir(destDir);
await exec.exec('git', ['rm', '-r', '--ignore-unmatch', '*']);
}
core.info(`[INFO] chdir ${workDir}`);
process.chdir(workDir);
await copyAssets(publishDir, destDir, inps.ExcludeAssets);
await copyAssets(publishDir, workDir);
return;
} else {
throw new Error(`Failed to clone remote branch ${inps.PublishBranch}`);
}
} catch (error) {
if (error instanceof Error) {
core.info(`[INFO] first deployment, create new branch ${inps.PublishBranch}`);
core.info(`[INFO] ${error.message}`);
await createDir(destDir);
core.info(`[INFO] chdir ${workDir}`);
process.chdir(workDir);
await createBranchForce(inps.PublishBranch);
await copyAssets(publishDir, destDir, inps.ExcludeAssets);
return;
} else {
throw new Error('unexpected error');
}
} catch (e) {
core.info(
`[INFO] first deployment, create new branch ${inps.PublishBranch}`
);
core.info(e.message);
await createWorkDir(workDir);
process.chdir(workDir);
await createBranchForce(inps.PublishBranch);
await copyAssets(publishDir, workDir);
return;
}
}
@ -159,7 +119,10 @@ export function getUserEmail(userEmail: string): string {
}
}
export async function setCommitAuthor(userName: string, userEmail: string): Promise<void> {
export async function setCommitAuthor(
userName: string,
userEmail: string
): Promise<void> {
if (userName && !userEmail) {
throw new Error('user_email is undefined');
}
@ -170,52 +133,42 @@ export async function setCommitAuthor(userName: string, userEmail: string): Prom
await exec.exec('git', ['config', 'user.email', getUserEmail(userEmail)]);
}
export function getCommitMessage(
msg: string,
fullMsg: string,
extRepo: string,
baseRepo: string,
hash: string
): string {
const msgHash = ((): string => {
if (extRepo) {
return `${baseRepo}@${hash}`;
} else {
return hash;
}
})();
export async function commit(
allowEmptyCommit: boolean,
externalRepository: string,
message: string
): Promise<void> {
let msg = '';
if (message) {
msg = message;
} else {
msg = 'deploy:';
}
const subject = ((): string => {
if (fullMsg) {
return fullMsg;
} else if (msg) {
return `${msg} ${msgHash}`;
} else {
return `deploy: ${msgHash}`;
}
})();
const hash = `${process.env.GITHUB_SHA}`;
const baseRepo = `${github.context.repo.owner}/${github.context.repo.repo}`;
if (externalRepository) {
msg = `${msg} ${baseRepo}@${hash}`;
} else {
msg = `${msg} ${hash}`;
}
return subject;
}
export async function commit(allowEmptyCommit: boolean, msg: string): Promise<void> {
try {
if (allowEmptyCommit) {
await exec.exec('git', ['commit', '--allow-empty', '-m', `${msg}`]);
} else {
await exec.exec('git', ['commit', '-m', `${msg}`]);
}
} catch (error) {
if (error instanceof Error) {
core.info('[INFO] skip commit');
core.debug(`[INFO] skip commit ${error.message}`);
} else {
throw new Error('unexpected error');
}
} catch (e) {
core.info('[INFO] skip commit');
core.debug(`[INFO] skip commit ${e.message}`);
}
}
export async function push(branch: string, forceOrphan: boolean): Promise<void> {
export async function push(
branch: string,
forceOrphan: boolean
): Promise<void> {
if (forceOrphan) {
await exec.exec('git', ['push', 'origin', '--force', branch]);
} else {
@ -223,7 +176,10 @@ export async function push(branch: string, forceOrphan: boolean): Promise<void>
}
}
export async function pushTag(tagName: string, tagMessage: string): Promise<void> {
export async function pushTag(
tagName: string,
tagMessage: string
): Promise<void> {
if (tagName === '') {
return;
}

View File

@ -4,11 +4,7 @@ import * as main from './main';
(async (): Promise<void> => {
try {
await main.run();
} catch (error) {
if (error instanceof Error) {
core.setFailed(`Action failed with "${error.message}"`);
} else {
core.setFailed('unexpected error');
}
} catch (e) {
core.setFailed(`Action failed with "${e.message}"`);
}
})();

View File

@ -4,7 +4,6 @@ export interface Inputs {
readonly PersonalToken: string;
readonly PublishBranch: string;
readonly PublishDir: string;
readonly DestinationDir: string;
readonly ExternalRepository: string;
readonly AllowEmptyCommit: boolean;
readonly KeepFiles: boolean;
@ -12,12 +11,10 @@ export interface Inputs {
readonly UserName: string;
readonly UserEmail: string;
readonly CommitMessage: string;
readonly FullCommitMessage: string;
readonly TagName: string;
readonly TagMessage: string;
readonly DisableNoJekyll: boolean;
readonly CNAME: string;
readonly ExcludeAssets: string;
}
export interface CmdResult {

View File

@ -1,26 +1,19 @@
import {context} from '@actions/github';
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as github from '@actions/github';
import {Inputs} from './interfaces';
import {showInputs, getInputs} from './get-inputs';
import {setTokens} from './set-tokens';
import {setRepo, setCommitAuthor, getCommitMessage, commit, push, pushTag} from './git-utils';
import {setRepo, setCommitAuthor, commit, push, pushTag} from './git-utils';
import {getWorkDirName, addNoJekyll, addCNAME, skipOnFork} from './utils';
export async function run(): Promise<void> {
try {
core.info('[INFO] Usage https://github.com/peaceiris/actions-gh-pages#readme');
const inps: Inputs = getInputs();
core.startGroup('Dump inputs');
showInputs(inps);
core.endGroup();
if (core.isDebug()) {
core.startGroup('Debug: dump context');
console.log(context);
core.endGroup();
}
const eventName = context.eventName;
@ -34,67 +27,45 @@ export async function run(): Promise<void> {
inps.PersonalToken
);
if (isSkipOnFork) {
core.warning('This action runs on a fork and not found auth token, Skip deployment');
core.warning(
'This action runs on a fork and not found auth token, Skip deployment'
);
core.setOutput('skip', 'true');
return;
}
}
core.startGroup('Setup auth token');
const remoteURL = await setTokens(inps);
core.debug(`remoteURL: ${remoteURL}`);
core.endGroup();
core.startGroup('Prepare publishing assets');
const date = new Date();
const unixTime = date.getTime();
const workDir = await getWorkDirName(`${unixTime}`);
await setRepo(inps, remoteURL, workDir);
await addNoJekyll(workDir, inps.DisableNoJekyll);
await addCNAME(workDir, inps.CNAME);
core.endGroup();
core.startGroup('Setup Git config');
await addNoJekyll(workDir, inps.DisableNoJekyll, inps.PublishBranch);
await addCNAME(workDir, inps.CNAME);
try {
await exec.exec('git', ['remote', 'rm', 'origin']);
} catch (error) {
if (error instanceof Error) {
core.info(`[INFO] ${error.message}`);
} else {
throw new Error('unexpected error');
}
} catch (e) {
core.info(`[INFO] ${e.message}`);
}
await exec.exec('git', ['remote', 'add', 'origin', remoteURL]);
await exec.exec('git', ['add', '--all']);
await setCommitAuthor(inps.UserName, inps.UserEmail);
core.endGroup();
core.startGroup('Create a commit');
const hash = `${process.env.GITHUB_SHA}`;
const baseRepo = `${github.context.repo.owner}/${github.context.repo.repo}`;
const commitMessage = getCommitMessage(
inps.CommitMessage,
inps.FullCommitMessage,
await commit(
inps.AllowEmptyCommit,
inps.ExternalRepository,
baseRepo,
hash
inps.CommitMessage
);
await commit(inps.AllowEmptyCommit, commitMessage);
core.endGroup();
core.startGroup('Push the commit or tag');
await push(inps.PublishBranch, inps.ForceOrphan);
await pushTag(inps.TagName, inps.TagMessage);
core.endGroup();
core.info('[INFO] Action successfully completed');
return;
} catch (error) {
if (error instanceof Error) {
throw new Error(error.message);
} else {
throw new Error('unexpected error');
}
} catch (e) {
throw new Error(e.message);
}
}

View File

@ -4,15 +4,15 @@ import * as github from '@actions/github';
import * as io from '@actions/io';
import path from 'path';
import fs from 'fs';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const cpSpawnSync = require('child_process').spawnSync;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const cpexec = require('child_process').execFileSync;
import {Inputs} from './interfaces';
import {getHomeDir} from './utils';
import {getServerUrl} from './git-utils';
export async function setSSHKey(inps: Inputs, publishRepo: string): Promise<string> {
export async function setSSHKey(
inps: Inputs,
publishRepo: string
): Promise<string> {
core.info('[INFO] setup SSH deploy key');
const homeDir = await getHomeDir();
@ -21,12 +21,10 @@ export async function setSSHKey(inps: Inputs, publishRepo: string): Promise<stri
await exec.exec('chmod', ['700', sshDir]);
const knownHosts = path.join(sshDir, 'known_hosts');
// ssh-keyscan -t rsa github.com or serverUrl >> ~/.ssh/known_hosts on Ubuntu
// ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts on Ubuntu
const cmdSSHkeyscanOutput = `\
# ${getServerUrl().host}.com:22 SSH-2.0-babeld-1f0633a6
${
getServerUrl().host
} ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
# github.com:22 SSH-2.0-babeld-1f0633a6
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
`;
fs.writeFileSync(knownHosts, cmdSSHkeyscanOutput + '\n');
core.info(`[INFO] wrote ${knownHosts}`);
@ -39,8 +37,8 @@ ${
const sshConfigPath = path.join(sshDir, 'config');
const sshConfigContent = `\
Host ${getServerUrl().host}
HostName ${getServerUrl().host}
Host github
HostName github.com
IdentityFile ~/.ssh/github
User git
`;
@ -49,11 +47,6 @@ Host ${getServerUrl().host}
await exec.exec('chmod', ['600', sshConfigPath]);
if (process.platform === 'win32') {
core.warning(`\
Currently, the deploy_key option is not supported on the windows-latest.
Watch https://github.com/peaceiris/actions-gh-pages/issues/87
`);
await cpSpawnSync('Start-Process', ['powershell.exe', '-Verb', 'runas']);
await cpSpawnSync('sh', ['-c', '\'eval "$(ssh-agent)"\''], {shell: true});
await exec.exec('sc', ['config', 'ssh-agent', 'start=auto']);
@ -63,7 +56,7 @@ Watch https://github.com/peaceiris/actions-gh-pages/issues/87
core.exportVariable('SSH_AUTH_SOCK', '/tmp/ssh-auth.sock');
await exec.exec('ssh-add', [idRSA]);
return `git@${getServerUrl().host}:${publishRepo}.git`;
return `git@github.com:${publishRepo}.git`;
}
export function setGithubToken(
@ -80,32 +73,35 @@ export function setGithubToken(
core.debug(`eventName: ${eventName}`);
let isProhibitedBranch = false;
if (externalRepository) {
throw new Error(`\
The generated GITHUB_TOKEN (github_token) does not support to push to an external repository.
Use deploy_key or personal_token.
`);
}
if (eventName === 'push') {
isProhibitedBranch = ref.match(new RegExp(`^refs/heads/${publishBranch}$`)) !== null;
isProhibitedBranch = ref.includes(`refs/heads/${publishBranch}`);
if (isProhibitedBranch) {
throw new Error(`\
You deploy from ${publishBranch} to ${publishBranch}
This operation is prohibited to protect your contents
`);
throw new Error(`You deploy from ${publishBranch} to ${publishBranch}`);
}
}
return `https://x-access-token:${githubToken}@${getServerUrl().host}/${publishRepo}.git`;
if (externalRepository) {
throw new Error(
'GITHUB_TOKEN does not support to push to an external repository'
);
}
return `https://x-access-token:${githubToken}@github.com/${publishRepo}.git`;
}
export function setPersonalToken(personalToken: string, publishRepo: string): string {
export function setPersonalToken(
personalToken: string,
publishRepo: string
): string {
core.info('[INFO] setup personal access token');
return `https://x-access-token:${personalToken}@${getServerUrl().host}/${publishRepo}.git`;
return `https://x-access-token:${personalToken}@github.com/${publishRepo}.git`;
}
export function getPublishRepo(externalRepository: string, owner: string, repo: string): string {
export function getPublishRepo(
externalRepository: string,
owner: string,
repo: string
): string {
if (externalRepository) {
return externalRepository;
}
@ -138,11 +134,7 @@ export async function setTokens(inps: Inputs): Promise<string> {
} else {
throw new Error('not found deploy key or tokens');
}
} catch (error) {
if (error instanceof Error) {
throw new Error(error.message);
} else {
throw new Error('unexpected error');
}
} catch (e) {
throw new Error(e.message);
}
}

View File

@ -23,31 +23,40 @@ export async function getWorkDirName(unixTime: string): Promise<string> {
return workDirName;
}
export async function createDir(dirPath: string): Promise<void> {
await io.mkdirP(dirPath);
core.debug(`Created directory ${dirPath}`);
export async function createWorkDir(workDirName: string): Promise<void> {
await io.mkdirP(workDirName);
core.debug(`Created: ${workDirName}`);
return;
}
export async function addNoJekyll(workDir: string, DisableNoJekyll: boolean): Promise<void> {
export async function addNoJekyll(
workDir: string,
DisableNoJekyll: boolean,
PublishBranch: string
): Promise<void> {
if (DisableNoJekyll) {
return;
}
const filepath = path.join(workDir, '.nojekyll');
if (fs.existsSync(filepath)) {
return;
if (PublishBranch === 'master' || PublishBranch === 'gh-pages') {
const filepath = path.join(workDir, '.nojekyll');
if (fs.existsSync(filepath)) {
return;
}
fs.closeSync(fs.openSync(filepath, 'w'));
core.info(`[INFO] Created ${filepath}`);
}
fs.closeSync(fs.openSync(filepath, 'w'));
core.info(`[INFO] Created ${filepath}`);
}
export async function addCNAME(workDir: string, content: string): Promise<void> {
export async function addCNAME(
workDir: string,
content: string
): Promise<void> {
if (content === '') {
return;
}
const filepath = path.join(workDir, 'CNAME');
if (fs.existsSync(filepath)) {
core.info(`CNAME already exists, skip adding CNAME`);
core.warning(`CNAME already exists, skip adding CNAME`);
return;
}
fs.writeFileSync(filepath, content + '\n');

View File

@ -1,15 +1,64 @@
{
"compilerOptions": {
"lib": ["ES2019"],
"module": "commonjs",
"target": "ES2019",
"sourceMap": true,
"outDir": "./lib",
"rootDir": "./src",
"removeComments": true,
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
"removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Additional Checks */
// "noUnusedLocals": true, /* Report errors on unused locals. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
/* Source Map Options */
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"resolveJsonModule": true
},
"exclude": ["node_modules", "**/*.test.ts"]