Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: peaceiris/actions-gh-pages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.9.3
Choose a base ref
...
head repository: peaceiris/actions-gh-pages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0
Choose a head ref

Commits on Mar 30, 2023

  1. Copy the full SHA
    f59da02 View commit details

Commits on Apr 2, 2023

  1. chore(deps): update dependency ts-jest to v29.1.0 (#882)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 2, 2023
    Copy the full SHA
    0912f94 View commit details

Commits on Apr 4, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.57.1 (#883)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 4, 2023
    Copy the full SHA
    339caee View commit details

Commits on Apr 7, 2023

  1. chore(deps): update dependency lint-staged to v13.2.1 (#884)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 7, 2023
    Copy the full SHA
    a2a8d7a View commit details

Commits on Apr 8, 2023

  1. chore(deps): update dependency eslint to v8.38.0 (#885)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 8, 2023
    Copy the full SHA
    f8de679 View commit details

Commits on Apr 11, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.58.0 (#887)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 11, 2023
    Copy the full SHA
    c57ac39 View commit details

Commits on Apr 13, 2023

  1. fix(deps): update dependency @types/shelljs to v0.8.12 (#888)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 13, 2023
    Copy the full SHA
    627df3d View commit details

Commits on Apr 17, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.0 (#889)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 17, 2023
    Copy the full SHA
    842eecd View commit details

Commits on Apr 19, 2023

  1. chore(deps): update dependency @types/jest to v29.5.1 (#890)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 19, 2023
    Copy the full SHA
    15a019f View commit details

Commits on Apr 20, 2023

  1. chore(deps): update dependency @types/node to v16.18.24 (#891)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 20, 2023
    Copy the full SHA
    ea4ed94 View commit details

Commits on Apr 22, 2023

  1. chore(deps): update dependency eslint to v8.39.0 (#893)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 22, 2023
    Copy the full SHA
    357abd4 View commit details

Commits on Apr 23, 2023

  1. chore(deps): update dependency prettier to v2.8.8 (#894)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 23, 2023
    Copy the full SHA
    b4f7221 View commit details

Commits on Apr 25, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.1 (#895)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 25, 2023
    Copy the full SHA
    d2f70de View commit details

Commits on Apr 26, 2023

  1. chore(deps): update dependency @types/node to v16.18.25 (#896)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 26, 2023
    Copy the full SHA
    5a83fe7 View commit details
  2. chore(deps): update dependency lint-staged to v13.2.2 (#897)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 26, 2023
    Copy the full SHA
    a9ba7ac View commit details

Commits on May 2, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.2 (#898)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 2, 2023
    Copy the full SHA
    0051bc9 View commit details

Commits on May 5, 2023

  1. docs: add Release Strategy

    peaceiris committed May 5, 2023
    Copy the full SHA
    67f80d9 View commit details

Commits on May 6, 2023

  1. chore(deps): update dependency @types/node to v16.18.26 (#900)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 6, 2023
    Copy the full SHA
    f223cf5 View commit details
  2. chore(deps): update dependency eslint to v8.40.0 (#901)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 6, 2023
    Copy the full SHA
    61cf177 View commit details

Commits on May 9, 2023

  1. chore(deps): update dependency @types/node to v16.18.27 (#902)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 9, 2023
    Copy the full SHA
    632be0a View commit details
  2. chore(deps): update typescript-eslint monorepo to v5.59.5 (#903)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 9, 2023
    Copy the full SHA
    f2c58a7 View commit details

Commits on May 10, 2023

  1. chore(deps): update dependency @types/node to v16.18.28 (#904)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 10, 2023
    Copy the full SHA
    cc17d26 View commit details

Commits on May 12, 2023

  1. chore(deps): update dependency @types/node to v16.18.29 (#905)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 12, 2023
    Copy the full SHA
    6aa6599 View commit details

Commits on May 13, 2023

  1. chore(deps): update dependency @types/node to v16.18.30 (#906)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 13, 2023
    Copy the full SHA
    6552e84 View commit details

Commits on May 15, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.6 (#907)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 15, 2023
    Copy the full SHA
    79a9689 View commit details

Commits on May 17, 2023

  1. chore(deps): update dependency @types/node to v16.18.31 (#908)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 17, 2023
    Copy the full SHA
    d63c64b View commit details

Commits on May 20, 2023

  1. chore(deps): update dependency eslint to v8.41.0 (#910)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 20, 2023
    Copy the full SHA
    183ff8d View commit details

Commits on May 22, 2023

  1. chore(deps): update dependency @types/node to v16.18.32 (#911)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 22, 2023
    Copy the full SHA
    002d40c View commit details
  2. chore(deps): update typescript-eslint monorepo to v5.59.7 (#912)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 22, 2023
    Copy the full SHA
    6add02d View commit details

Commits on May 26, 2023

  1. chore(deps): update dependency @types/node to v16.18.33 (#913)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 26, 2023
    Copy the full SHA
    a4ea9ce View commit details

Commits on May 27, 2023

  1. chore(deps): update dependency @types/node to v16.18.34 (#914)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 27, 2023
    Copy the full SHA
    e76f1e7 View commit details

Commits on May 29, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.8 (#915)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 29, 2023
    Copy the full SHA
    f0f1e89 View commit details

Commits on May 31, 2023

  1. chore(deps): update dependency @types/jest to v29.5.2 (#917)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 31, 2023
    Copy the full SHA
    a2a2b7b View commit details

Commits on Jun 3, 2023

  1. chore(deps): update dependency eslint to v8.42.0 (#918)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 3, 2023
    Copy the full SHA
    39e645c View commit details

Commits on Jun 5, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.9 (#919)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 5, 2023
    Copy the full SHA
    97d8bbd View commit details

Commits on Jun 11, 2023

  1. Copy the full SHA
    0fbd122 View commit details
  2. chore(deps): update dependency @types/node to v16.18.35 (#921)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 11, 2023
    Copy the full SHA
    5c2402f View commit details

Commits on Jun 12, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.59.11 (#922)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 12, 2023
    Copy the full SHA
    3c6e26b View commit details

Commits on Jun 13, 2023

  1. chore(deps): update dependency @types/node to v16.18.36 (#923)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 13, 2023
    Copy the full SHA
    d75c9c6 View commit details

Commits on Jun 17, 2023

  1. chore(deps): update dependency eslint to v8.43.0 (#925)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 17, 2023
    Copy the full SHA
    30155ac View commit details

Commits on Jun 19, 2023

  1. chore(deps): update dependency eslint-plugin-jest to v27.2.2 (#926)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 19, 2023
    Copy the full SHA
    5c3786b View commit details
  2. chore(deps): update typescript-eslint monorepo to v5.60.0 (#927)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 19, 2023
    Copy the full SHA
    6b5e721 View commit details

Commits on Jun 21, 2023

  1. chore(deps): update node.js to v16.20.1 (#928)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 21, 2023
    Copy the full SHA
    1fa15b4 View commit details

Commits on Jun 26, 2023

  1. chore(deps): update dependency @types/node to v16.18.37 (#929)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 26, 2023
    Copy the full SHA
    cf3131b View commit details

Commits on Jun 27, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.60.1 (#930)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 27, 2023
    Copy the full SHA
    7181847 View commit details

Commits on Jun 28, 2023

  1. chore(deps): update dependency lint-staged to v13.2.3 (#931)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 28, 2023
    Copy the full SHA
    80c9fd5 View commit details

Commits on Jun 30, 2023

  1. chore(deps): update dependency ts-jest to v29.1.1 (#932)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 30, 2023
    Copy the full SHA
    aeef856 View commit details

Commits on Jul 1, 2023

  1. chore(deps): update dependency @types/node to v16.18.38 (#933)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2023
    Copy the full SHA
    8839146 View commit details
  2. chore(deps): update dependency eslint to v8.44.0 (#934)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2023
    Copy the full SHA
    eaaca9a View commit details

Commits on Jul 3, 2023

  1. chore(deps): update typescript-eslint monorepo to v5.61.0 (#935)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 3, 2023
    Copy the full SHA
    5f3ccc7 View commit details
Showing with 1,793 additions and 1,656 deletions.
  1. +4 −4 .github/workflows/codeql.yml
  2. +2 −2 .github/workflows/dependency-review.yml
  3. +1 −1 .github/workflows/label-commenter.yml
  4. +1 −1 .github/workflows/release.yml
  5. +2 −2 .github/workflows/test.yml
  6. +1 −1 .github/workflows/update-major-tag.yml
  7. +1 −1 .nvmrc
  8. +24 −0 CHANGELOG.md
  9. +56 −12 README.md
  10. +1 −1 action.yml
  11. +1 −1 lib/index.js
  12. +1,694 −1,625 package-lock.json
  13. +5 −5 package.json
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -10,15 +10,15 @@ jobs:
CodeQL-Build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: javascript

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ jobs:
dependency-review:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/dependency-review-action@v3
- uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
comment:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# https://github.com/peaceiris/workflows/blob/main/create-release-npm/action.yml
- uses: peaceiris/workflows/create-release-npm@v0.19.1
env:
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: peaceiris/workflows/setup-node@v0.19.1
with:
@@ -61,7 +61,7 @@ jobs:
- run: npm test

- name: Upload test coverage as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}
path: coverage
2 changes: 1 addition & 1 deletion .github/workflows/update-major-tag.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Update major tag
run: |
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.0
20.11.1
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,30 @@

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)


68 changes: 56 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -111,6 +111,7 @@ Note that the `GITHUB_TOKEN` that is created by the runner might not inherently
- [⭐️ First Deployment with `GITHUB_TOKEN`](#%EF%B8%8F-first-deployment-with-github_token)
- [⭐️ Use the latest and specific release](#%EF%B8%8F-use-the-latest-and-specific-release)
- [⭐️ Schedule and Manual Deployment](#%EF%B8%8F-schedule-and-manual-deployment)
- [⭐️ Release Strategy](#%EF%B8%8F-release-strategy)
- [Examples](#examples)
- [⭐️ Static Site Generators with Node.js](#%EF%B8%8F-static-site-generators-with-nodejs)
- [⭐️ Gatsby](#%EF%B8%8F-gatsby)
@@ -174,7 +175,7 @@ jobs:
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -649,6 +650,49 @@ jobs:
...
```

### ⭐️ Release Strategy

cf. [support: execution from hashref disabled/broken vs GitHub Actions Security Best Practice? · Issue #712 · peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages/issues/712)

Our project builds and provides build assets only when creating a release. This is to prevent the user from executing this action with a specific branch (like main). For example, if we maintain build assets in the main branch and users use this action as follows, a major release including breaking changes will break the CI workflow of the users silently.

```yaml
- uses: peaceiris/actions-gh-pages@main # Bad example!
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
```

In this project, a major tag (e.g. v3) is guaranteed to contain no breaking changes. But, we recommend using a tag or a commit hash for the stability of your workflows.

```yaml
- uses: peaceiris/actions-gh-pages@v3.9.3 # tag: Better
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
```

```yaml
- uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # commit hash of v3.9.3: Best!
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
```

For verifying the release asset, we can use the following commands.

```sh
git clone https://github.com/peaceiris/actions-gh-pages.git
cd ./actions-gh-pages
git checkout v3.9.3
nvm install
nvm use
npm i -g npm
npm ci
npm run build
git diff ./lib/index.js # We will get zero exit code
```

<div align="right">
<a href="#table-of-contents">Back to TOC ☝️</a>
</div>
@@ -708,7 +752,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -760,7 +804,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -815,7 +859,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
@@ -825,7 +869,7 @@ jobs:

An example for [Nuxt.js] (Vue.js) project with [create-nuxt-app]

- cf. [Nuxt - GitHub Pages](https://nuxtjs.org/integrations/deployments/github-pages)
- cf. [Nuxt - GitHub Pages](https://nuxtjs.org/deployments/github-pages)

[Nuxt.js]: https://github.com/nuxt/nuxt.js
[create-nuxt-app]: https://github.com/nuxt/create-nuxt-app
@@ -868,7 +912,7 @@ jobs:
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
@@ -929,7 +973,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
@@ -993,7 +1037,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
@@ -1036,7 +1080,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
@@ -1086,7 +1130,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web
@@ -1137,7 +1181,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -1190,7 +1234,7 @@ jobs:

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Output
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -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: 'node16'
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'upload-cloud'
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

Loading