mirror of
https://github.com/maputnik/editor.git
synced 2025-12-24 07:00:01 +00:00
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-gh-pages/releases">peaceiris/actions-gh-pages's releases</a>.</em></p> <blockquote> <h2>actions-github-pages v4.0.0</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v4.0.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.9.3</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.3/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.9.2</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.2/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.9.1</h2> <ul> <li>update deps</li> </ul> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.1/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.9.0</h2> <ul> <li>deps: bump node12 to node16</li> <li>deps: bump <code>@actions/core</code> from 1.6.0 to 1.10.0</li> </ul> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.8.0</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.8.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.7.3</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.3/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.7.2</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.2/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.7.1</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.1/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.7.0</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <p>Overviews:</p> <ul> <li>Add .nojekyll file by default for all branches (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/438">#438</a>) (079d483), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/438">#438</a></li> <li>Add destination_dir option (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/403">#403</a>) (f30118c), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/403">#403</a> <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/324">#324</a> <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/390">#390</a></li> <li>Add exclude_assets option (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/416">#416</a>) (0f5c65e), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/416">#416</a> <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/163">#163</a></li> <li>exclude_assets supports glob patterns (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/417">#417</a>) (6f45501), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/417">#417</a> <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/163">#163</a></li> </ul> <h2>actions-github-pages v3.6.4</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.4/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.6.3</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.3/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <h2>actions-github-pages v3.6.2</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.2/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md">peaceiris/actions-gh-pages's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v3.9.3">3.9.3</a> (2023-03-30)</h2> <h3>docs</h3> <ul> <li>fix typo, bump hugo version (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a>) (<a href="884a0224fd">884a022</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a></li> </ul> <h3>fix</h3> <ul> <li>fix error handling (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a>) (<a href="32e33dcd3a">32e33dc</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a></li> <li>update known_hosts (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a>) (<a href="31c15f0329">31c15f0</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a></li> </ul> <h2><a href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.1...v3.9.2">3.9.2</a> (2023-01-17)</h2> <h3>chore</h3> <ul> <li>rename cicd (<a href="32c9288f55">32c9288</a>)</li> <li>replace npm ci with install (<a href="983978086a">9839780</a>)</li> </ul> <h3>ci</h3> <ul> <li>add github-actions npm (<a href="5e5dc6d02e">5e5dc6d</a>)</li> <li>enable automerge (<a href="dd7d778958">dd7d778</a>)</li> <li>remove dependabot (<a href="7af79a873e">7af79a8</a>)</li> <li>remove enabledManagers (<a href="cba22ba760">cba22ba</a>)</li> <li>use peaceiris/workflows/setup-node 0.19.1 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/818">#818</a>) (<a href="416f539fb4">416f539</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/818">#818</a></li> </ul> <h3>deps</h3> <ul> <li>apply npm audit fix (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/809">#809</a>) (<a href="e3aa46d23b">e3aa46d</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/809">#809</a></li> </ul> <h2><a href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.0...v3.9.1">3.9.1</a> (2023-01-05)</h2> <h3>chore</h3> <ul> <li>change cicd label name (<a href="1808965241">1808965</a>)</li> </ul> <h3>ci</h3> <ul> <li>add Renovate config (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/802">#802</a>) (<a href="072d16c439">072d16c</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/802">#802</a></li> <li>bump actions/dependency-review-action from 2 to 3 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/799">#799</a>) (<a href="e3b45f2700">e3b45f2</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/799">#799</a></li> <li>bump peaceiris/actions-github-app-token from 1.1.4 to 1.1.5 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/798">#798</a>) (<a href="a5f971f112">a5f971f</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/798">#798</a></li> <li>bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/793">#793</a>) (<a href="9af6a68dde">9af6a68</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/793">#793</a></li> <li>bump peaceiris/workflows from 0.17.1 to 0.17.2 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/794">#794</a>) (<a href="087a759f90">087a759</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/794">#794</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="4f9cc6602d"><code>4f9cc66</code></a> chore(release): 4.0.0</li> <li><a href="9c75028a53"><code>9c75028</code></a> chore(release): Add build assets</li> <li><a href="5049354438"><code>5049354</code></a> build: node 20.11.1</li> <li><a href="4eb285e828"><code>4eb285e</code></a> chore: bump node16 to node20 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a>)</li> <li><a href="cdc09a3baa"><code>cdc09a3</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.77 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1065">#1065</a>)</li> <li><a href="d830378ec6"><code>d830378</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.76 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1063">#1063</a>)</li> <li><a href="80daa1d144"><code>80daa1d</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.75 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1061">#1061</a>)</li> <li><a href="108285e909"><code>108285e</code></a> chore(deps): update dependency ts-jest to v29.1.2 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1060">#1060</a>)</li> <li><a href="99c95ff54e"><code>99c95ff</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.74 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1058">#1058</a>)</li> <li><a href="1f4653792d"><code>1f46537</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.73 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1057">#1057</a>)</li> <li>Additional commits viewable in <a href="https://github.com/peaceiris/actions-gh-pages/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
deploy-pages:
|
|
name: deploy/pages
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event_name == 'push' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Use Node.js from nvmrc
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
|
|
- name: Install
|
|
run: npm ci
|
|
|
|
- name: Build
|
|
run: npm run build
|
|
|
|
- name: Upload to GitHub Pages
|
|
uses: peaceiris/actions-gh-pages@v4
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: dist
|
|
|
|
# publish docker to GitHub registry
|
|
deploy-docker:
|
|
name: deploy/docker
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ github.event_name == 'push' }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: actions/checkout@v4
|
|
- run: docker build -t ghcr.io/maplibre/maputnik:main .
|
|
- run: docker push ghcr.io/maplibre/maputnik:main
|