1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Add workflow to deploy the sample index (#791)

* Add workflow to build and deploy the sample index

* update gh-pages action

* fix yaml

* create web/ directory in build

* grammar

* add ignored directories

* revert pubspec.lock files

* add job to run _tool/verify_samples.dart

* Update filipino_cuisine for Flutter 2

* remove timeflow demo.

The unnamed List constructor is now deprecated, refactoring
this code to use add() requires more knowledge about the code for
this demo.
https://dart.dev/null-safety/understanding-null-safety#no-unnamed-list-constructor

* update slide_puzzle

* ensure stable channel is used to verify

* move verify web demos action into separate yaml file - avoid running
on each flutter version.

* add on: pull_request

* update slide_puzzle

* Update gh-pages.yml

* Add copyright header
This commit is contained in:
John Ryan
2021-05-06 10:26:15 -07:00
committed by GitHub
parent b26f2cccc1
commit 3f5ab56485
24 changed files with 140 additions and 1307 deletions

View File

@@ -508,22 +508,6 @@ samples:
web: web/slide_puzzle
type: demo
- name: Timeflow
author: Fabian Stein
screenshots:
- url: images/timeflow1.png
alt: Timeflow screenshot
source: https://github.com/Fabian-Stein/timeflow
description: >
A gentle animation that provides a calming experience to stressed developers.
difficulty: advanced
widgets: []
packages: []
platforms: ['web']
tags: ['demo', 'animation']
web: web/timeflow
type: demo
- name: Dice
author: Jaime Blasco
screenshots:

View File

@@ -19,7 +19,7 @@ void testCli() async => await TestRunner().testAsync(platformSelector: 'vm');
@Task()
void analyze() {
PubApp.local('tuneup')..run(['check']);
PubApp.local('tuneup').run(['check']);
}
@Task('deploy')