mirror of
https://github.com/maputnik/editor.git
synced 2026-05-21 15:37:26 +00:00
b450dd66ec
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 4.0.0 to 4.1.0. <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.1.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>What's Changed</h2> <ul> <li>Actions examples: update to modern versions of actions by <a href="https://github.com/clintonsteiner"><code>@clintonsteiner</code></a> in <a href="https://redirect.github.com/peaceiris/actions-gh-pages/pull/1117">peaceiris/actions-gh-pages#1117</a></li> <li>chore: update Node runtime and dependencies by <a href="https://github.com/peaceiris"><code>@peaceiris</code></a> in <a href="https://redirect.github.com/peaceiris/actions-gh-pages/pull/1147">peaceiris/actions-gh-pages#1147</a></li> <li>ci: harden GitHub Actions workflows by <a href="https://github.com/peaceiris"><code>@peaceiris</code></a> in <a href="https://redirect.github.com/peaceiris/actions-gh-pages/pull/1156">peaceiris/actions-gh-pages#1156</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/clintonsteiner"><code>@clintonsteiner</code></a> made their first contribution in <a href="https://redirect.github.com/peaceiris/actions-gh-pages/pull/1117">peaceiris/actions-gh-pages#1117</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/peaceiris/actions-gh-pages/compare/v4.0.0...v4.1.0">https://github.com/peaceiris/actions-gh-pages/compare/v4.0.0...v4.1.0</a></p> </blockquote> </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> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p> <h1><a href="https://github.com/peaceiris/actions-gh-pages/compare/v4.0.0...v4.1.0">4.1.0</a> (2026-05-12)</h1> <h3>chore</h3> <ul> <li>add .codex/ (<a href="https://github.com/peaceiris/actions-gh-pages/commit/94ae2d2c73d9417ae30f61ddead523dc54d56dab">94ae2d2</a>)</li> <li>add hasInstallScript true (<a href="https://github.com/peaceiris/actions-gh-pages/commit/494ec9b2cc029a46119b4e13ff65f91eacbe1cf3">494ec9b</a>)</li> <li>update Node runtime and dependencies (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1147">#1147</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/954f6bf8259a6185f366f5cf13baee63745e0f79">954f6bf</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1147">#1147</a></li> </ul> <h3>ci</h3> <ul> <li>change automerge to false (<a href="https://github.com/peaceiris/actions-gh-pages/commit/4b09552702d0b65573696410d4707c765da2630b">4b09552</a>)</li> <li>harden GitHub Actions workflows (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1156">#1156</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/aa0466c1792bb558ed327a96629c4dd4ec390e48">aa0466c</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1156">#1156</a></li> </ul> <h3>docs</h3> <ul> <li>add repository guidelines (<a href="https://github.com/peaceiris/actions-gh-pages/commit/a1f94b504729eaee11b94d0f21ef5630241e8a52">a1f94b5</a>)</li> <li>bump to v4 from v3 (<a href="https://github.com/peaceiris/actions-gh-pages/commit/a16b61f0780be556cf97931905d261429ee79342">a16b61f</a>)</li> <li>fix note style (<a href="https://github.com/peaceiris/actions-gh-pages/commit/0b7567fde6f7517edcc13d8ffa2d89cd8734d47c">0b7567f</a>)</li> <li>update versions of actions (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1117">#1117</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/aa83d0c2cfc3d813560e13068d3152aa21490171">aa83d0c</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1117">#1117</a></li> </ul> <h1><a href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0">4.0.0</a> (2024-04-08)</h1> <h3>build</h3> <ul> <li>node 20.11.1 (<a href="https://github.com/peaceiris/actions-gh-pages/commit/5049354438ced05ab8a5da89ef20fd8efff107c7">5049354</a>)</li> </ul> <h3>chore</h3> <ul> <li>bump node16 to node20 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/4eb285e828117bca26638192c3ed309c622e7bad">4eb285e</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a></li> <li>downgrade engines.npm to 8.0.0 (<a href="https://github.com/peaceiris/actions-gh-pages/commit/87231bc03a428df52f90a00b3b9e6bef82f7daf9">87231bc</a>)</li> </ul> <h3>ci</h3> <ul> <li>pin node-version to 18 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/981">#981</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/65ebf11929c082120c54719c87069f0827d2084c">65ebf11</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/981">#981</a></li> </ul> <h3>docs</h3> <ul> <li>add Release Strategy (<a href="https://github.com/peaceiris/actions-gh-pages/commit/67f80d94a1668353e4733223685dcb84340c44b5">67f80d9</a>)</li> <li>fix link to Nuxt github-pages (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/980">#980</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/88b4d2aa927893f8976712406df9928468be3c88">88b4d2a</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/980">#980</a></li> <li>remove braces in if conditions (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/920">#920</a>) (<a href="https://github.com/peaceiris/actions-gh-pages/commit/0fbd12244217a1fa04396b8a52d911a436893771">0fbd122</a>), closes <a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/920">#920</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/84c30a85c19949d7eee79c4ff27748b70285e453"><code>84c30a8</code></a> chore(release): 4.1.0</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/6fa0f50907221d627dfc1f22925e09fc46a95139"><code>6fa0f50</code></a> chore(release): Add build assets</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/3b7506a0311b775872374907835d53bcfbbb7464"><code>3b7506a</code></a> chore(deps): update dependency trim-newlines to v5 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1158">#1158</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/aa0466c1792bb558ed327a96629c4dd4ec390e48"><code>aa0466c</code></a> ci: harden GitHub Actions workflows (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1156">#1156</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/31835fbbe39cd0ffade1ab81fac14a532b529633"><code>31835fb</code></a> chore(deps): update actions/labeler action to v6 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1153">#1153</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/f4f1bc416d16988941232658cea5c06368f3373b"><code>f4f1bc4</code></a> chore(deps): update peaceiris/actions-mdbook action to v2 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1161">#1161</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/a5e49793f6bdcb5cae6355701f7370ac849c8f20"><code>a5e4979</code></a> chore(deps): update dependency ubuntu to v24 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1159">#1159</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/6cc3bac1ca327126c11b95063230514c80197c9c"><code>6cc3bac</code></a> chore(deps): update github/codeql-action action to v4 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1160">#1160</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/0d6e9f4a6f26532ada0e15a7e783b34f9faad71a"><code>0d6e9f4</code></a> chore(deps): update actions/setup-node action to v6 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1154">#1154</a>)</li> <li><a href="https://github.com/peaceiris/actions-gh-pages/commit/d70c101088107fa90acab16aa67e6db280eda929"><code>d70c101</code></a> chore(deps): update actions/upload-artifact action to v7 (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1155">#1155</a>)</li> <li>Additional commits viewable in <a href="https://github.com/peaceiris/actions-gh-pages/compare/4f9cc6602d3f66b9c108549d475ec49e8ef4d45e...84c30a85c19949d7eee79c4ff27748b70285e453">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 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>
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
deploy-pages:
|
|
name: deploy/pages
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
if: ${{ github.event_name == 'push' }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with: { persist-credentials: false }
|
|
|
|
- name: Use Node.js from nvmrc
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
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@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
|
|
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' }}
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- run: docker build -t ghcr.io/maplibre/maputnik:main .
|
|
- run: docker push ghcr.io/maplibre/maputnik:main
|