mirror of
https://github.com/maputnik/editor.git
synced 2026-05-20 15:10:00 +00:00
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="94ae2d2c73">94ae2d2</a>)</li> <li>add hasInstallScript true (<a href="494ec9b2cc">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="954f6bf825">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="4b09552702">4b09552</a>)</li> <li>harden GitHub Actions workflows (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1156">#1156</a>) (<a href="aa0466c179">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="a1f94b5047">a1f94b5</a>)</li> <li>bump to v4 from v3 (<a href="a16b61f078">a16b61f</a>)</li> <li>fix note style (<a href="0b7567fde6">0b7567f</a>)</li> <li>update versions of actions (<a href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1117">#1117</a>) (<a href="aa83d0c2cf">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="5049354438">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="4eb285e828">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="87231bc03a">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="65ebf11929">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="67f80d94a1">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="88b4d2aa92">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="0fbd122442">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="84c30a85c1"><code>84c30a8</code></a> chore(release): 4.1.0</li> <li><a href="6fa0f50907"><code>6fa0f50</code></a> chore(release): Add build assets</li> <li><a href="3b7506a031"><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="aa0466c179"><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="31835fbbe3"><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="f4f1bc416d"><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="a5e49793f6"><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="6cc3bac1ca"><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="0d6e9f4a6f"><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="d70c101088"><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="4f9cc6602d...84c30a85c1">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
|