Commit Graph

25 Commits

Author SHA1 Message Date
Shohei Ueda ba912f746b
ci: Add actions runner env (#443)
DEBIAN_FRONTEND="noninteractive"
ImageVersion="20200717.1"
GITHUB_SERVER_URL="https://github.com"
GITHUB_GRAPHQL_URL="https://api.github.com/graphql"
GITHUB_ACTOR="peaceiris"
GITHUB_REPOSITORY="actions/pages"
RUNNER_OS="Linux"
RUNNER_USER="runner"
RUNNER_TEMP="/home/runner/work/_temp"
RUNNER_WORKSPACE="/home/runner/work/pages"
2020-08-06 11:36:20 +09:00
Shohei Ueda 2b5ce90dc9
ci: reuse NODE_VERSION in nodesource URL (#430) 2020-07-28 23:28:25 +09:00
Shohei Ueda 681dcab3fd
ci: enhance version log (#429) 2020-07-28 22:00:59 +09:00
Shohei Ueda 70c0076457
ci: change base image from Debian to Ubuntu 18.04 (#428)
Change base docker image from `node:x.x.x-buster-slim` to `ubuntu:18.04`
The image size reduces from 1.05GB to 327MB

- Install Node.js via nodesource https://github.com/nodesource/distributions
- Install Git via ppa:git-core/ppa https://git-scm.com/download/linux
2020-07-28 21:47:35 +09:00
Shohei Ueda 5d053d30d0
ci: Clean up apt cache and junk (#425) 2020-07-28 18:59:09 +09:00
Shohei Ueda 4cf5105929
ci: Set default branch to main (#424)
git config --global init.defaultBranch main

https://github.blog/2020-07-27-highlights-from-git-2-28/
2020-07-28 17:35:58 +09:00
Shohei Ueda fecb564860
deps: bump git from 2.27.0 to 2.28.0 (#422) 2020-07-28 02:20:19 +09:00
Shohei Ueda 71958c534b
ci: add env (#419)
ENV LANG="C.UTF-8"
ENV ImageVersion="20200625.0"
ENV GITHUB_API_URL="https://api.github.com"
ENV RUNNER_TOOL_CACHE="/opt/hostedtoolcache"
ENV GITHUB_REPOSITORY_OWNER="peaceiris"
ENV GITHUB_ACTIONS="true"
2020-07-26 00:12:46 +09:00
Shohei Ueda eca3d9d25e
ci: set env CI to true (#418) 2020-07-26 00:03:59 +09:00
Shohei Ueda 73cf1d15d9
deps: bump git from 2.26.2 to 2.27.0 (#331) 2020-06-03 09:05:29 +09:00
Shohei Ueda db7681db4d
deps: bump git from 2.26.1 to 2.26.2 (#246) 2020-04-25 23:06:07 +09:00
Shohei Ueda df5698c4aa
deps: bump git from 2.26.0 to 2.26.1 (#233) 2020-04-15 10:50:03 +09:00
Shohei Ueda 3183d3481b
deps: bump git from 2.25.1 to 2.26.0 (#182) 2020-03-26 21:10:58 +09:00
Shohei Ueda ade8887479
deps: bump node 12.15.0 to 12.16.1 (#142)
* deps: bump node 12.15.0 to 12.16.1
* deps: bump git 2.25.0 to 2.25.1
* chore: validate node and npm version by engines field
* ci: Add npm i -g npm
2020-03-07 02:54:14 +09:00
Shohei Ueda 00fde1eb97
feat: Add disable_nojekyll and cname options (#119)
* feat: Add disable_nojekyll and cname options
* docs: Add cname and disable_nojekyll
* chore: Add vim
* chore(release): 3.3.0-0
* ci: Add codecov/codecov-action
* refactor: Enhance warning message

- Add .nojekyll file by default to only the master and gh-pages branches. When the file already exists, this action does nothing.
- When we set other branches to publish_branch, this action does not add .nojekyll file.

cf. https://github.com/peaceiris/actions-gh-pages/issues/112#issuecomment-589678269

Close #112

Co-authored-by: Daniel Himmelstein <daniel.himmelstein@gmail.com>
Co-authored-by: Nicolas Vanhoren <nicolas.vanhoren@gmail.com>
2020-02-24 18:49:55 +09:00
Shohei Ueda 68b21c12af
feat: Add TypeScript Action (#83)
cf. https://github.com/peaceiris/actions-github-pages
Close #54
2020-02-05 14:34:19 +09:00
dependabot-preview[bot] 45b43ab257 deps: bump alpine from 3.11.2 to 3.11.3
Bumps alpine from 3.11.2 to 3.11.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:20:42 +00:00
dependabot-preview[bot] 127155c640 deps: bump alpine from 3.11.0 to 3.11.2 (#71)
Bumps alpine from 3.11.0 to 3.11.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 11:07:02 +09:00
Shohei Ueda bdedb4ed2b
feat: ignore .git and .github (#63)
* feat: ignore .git and .github

Close #57

* feat: update alpine to 3.11.0

cf. #64
2019-12-24 15:02:00 +09:00
dependabot-preview[bot] 78a8692f54 build(deps): bump alpine from 3.10.2 to 3.10.3 (#44)
Bumps alpine from 3.10.2 to 3.10.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 15:08:18 +09:00
peaceiris acef980b83 remove: rm command to cleanup apt cache 2019-09-08 11:51:04 +09:00
Shohei Ueda 45f5817ce0
Release v2.1.0 (#14)
* change: base docker image from ubuntu:18.04 to alpine:3.10.2
* update: .hadolint.yaml to ignore DL3018
2019-09-06 00:31:34 +09:00
Shohei Ueda 9dbd791001
Release v2.0.0 (#10)
Changes for peaceiris/actions-gh-pages

* update: yaml example of GitHub Actions v2 settings for MkDocs, close #8
* revert: support ACTIONS_DEPLOY_KEY (ssh deploy) again
* upgrade: Hugo to v0.58.0 at example yaml
* remove: steps if statement from example yaml, close #12

Changes for this repository

* gha: add lint job (shellcheck and hadolint)
* gha: remove tag filter
* gha: remove steps if statement, close #12
* gha: add action.yml
* fix: FUNDING.yml
2019-09-05 23:07:49 +09:00
Michael Smith 76d9ea1451 Fetch remote before testing whether the publish branch exists (#7)
This re-uses the existing branch rather than always overwriting it with
a new branch with a single commit.

Signed-off-by: Michael Smith <michael.smith@puppet.com>
2019-09-02 17:47:55 +09:00
peaceiris 036c4a14e0 add: action 2019-05-22 06:53:54 +09:00