mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.17.0 to 2.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/subosito/flutter-action/releases">subosito/flutter-action's releases</a>.</em></p> <blockquote> <h2>v2.18.0</h2> <h2>What's Changed</h2> <ul> <li>README updates by <a href="https://github.com/bartekpacia"><code>@âbartekpacia</code></a></li> <li>Automatically install <code>yq</code> on Windows runners by <a href="https://github.com/penkzhou"><code>@âpenkzhou</code></a> in <a href="https://redirect.github.com/subosito/flutter-action/pull/336">subosito/flutter-action#336</a></li> <li>feat: add git source support by <a href="https://github.com/ErBWs"><code>@âErBWs</code></a> in <a href="https://redirect.github.com/subosito/flutter-action/pull/334">subosito/flutter-action#334</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ErBWs"><code>@âErBWs</code></a> made their first contribution in <a href="https://redirect.github.com/subosito/flutter-action/pull/334">subosito/flutter-action#334</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/subosito/flutter-action/compare/v2.17.0...v2.18.0">https://github.com/subosito/flutter-action/compare/v2.17.0...v2.18.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f2c4f6686c"><code>f2c4f66</code></a> fix syntax mistake in readme (<a href="https://redirect.github.com/subosito/flutter-action/issues/338">#338</a>)</li> <li><a href="fd476281dd"><code>fd47628</code></a> improve readme (<a href="https://redirect.github.com/subosito/flutter-action/issues/337">#337</a>)</li> <li><a href="799318a131"><code>799318a</code></a> feat: add git source support (<a href="https://redirect.github.com/subosito/flutter-action/issues/334">#334</a>)</li> <li><a href="8535a80ce0"><code>8535a80</code></a> Feature/yq on windows (<a href="https://redirect.github.com/subosito/flutter-action/issues/336">#336</a>)</li> <li><a href="7642db7052"><code>7642db7</code></a> update readme (<a href="https://redirect.github.com/subosito/flutter-action/issues/335">#335</a>)</li> <li>See full diff in <a href="74af56c5ed...f2c4f6686c">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`. --- <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>
39 lines
931 B
YAML
39 lines
931 B
YAML
name: Deploy to GitHub Pages
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build-and-deploy:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'flutter/samples'
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
|
|
|
|
- name: Init scripts
|
|
run: dart pub get
|
|
working-directory: web/_tool
|
|
|
|
- name: Build
|
|
run: dart run _tool/build_ci.dart
|
|
working-directory: web
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: web/samples_index/public
|