mirror of
https://github.com/flutter/samples.git
synced 2025-11-14 03:19:06 +00:00
Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.8.0 to 2.10.0.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](dbf1fa04f4...48cafc2471)
---
updated-dependencies:
- dependency-name: subosito/flutter-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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@24cb9080177205b6e8c946b17badbe402adc938f
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
|
|
|
|
- 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@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: web/samples_index/public
|