mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +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:
@@ -22,10 +22,8 @@ You should see a message printing the URL to access: `http://localhost:8080`
|
||||
|
||||
## Deploying to GitHub Pages
|
||||
|
||||
This project uses [peanut][peanut] to build the samples and commit the output
|
||||
to the gh-pages branch. To deploy, run these commands in the `web/` directory:
|
||||
|
||||
Install the peanut command:
|
||||
This project uses a GitHub action to deploy update the `gh-pages` branch. To
|
||||
do this manually, you can also use `package:peanut`:
|
||||
|
||||
```console
|
||||
$ flutter pub global activate peanut
|
||||
|
||||
Reference in New Issue
Block a user