How to deploy flutter web site on GitHub using peanut

This Article is posted by nikhilchaudhary12155 at 10/13/2019 4:59:45 AM



<p>**What is peanut?**font-size: 1rem;](Peanut is a dart package to use for deploy flutter web site directly to Github Repo. color: rgb(0, 0, 0); font-family: Roboto, sans-serif;](Do you ever want to <code>background: rgba(27, 31, 35, 0.05); border: 1px solid rgb(238, 238, 238); font-family: "Source Code Pro", Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; color: rgb(0, 0, 0);](pub run build_runner build</code>color: rgb(0, 0, 0); font-family: Roboto, sans-serif;]( into another branch? This is your ticket. For Example: <a href="https://flutter.github.io/samples/">https://flutter.github.io/samples/font-size: 1rem;</a></p> <h2 id="hash-headeridinstallmargin-top-24px-margin-bottom-16px-font-weight-600-line-height-1.25-padding-bottom-0.3em-font-size-1.5em-border-bottom-1px-solid-rgb234-236-239-color-rgb0-0-0-font-family-roboto-sans-serifinstall-httpspub.devpackagespeanutinstallhash-linkcolor-rgb204-204-204-cursor-pointer-font-weight-500-opacity-0-transition-opacity-0.5s-ease-in-out-0.1s">hash-headerid="installmargin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; padding-bottom: 0.3em; font-size: 1.5em; border-bottom: 1px solid rgb(234, 236, 239); color: rgb(0, 0, 0); font-family: Roboto, sans-serif;](Install <a href="#">https://pub.dev/packages/peanut#installhash-linkcolor: rgb(204, 204, 204); cursor: pointer; font-weight: 500; opacity: 0; transition: opacity 0.5s ease-in-out 0.1s;</a>]</h2> <p>Arguments: -d, --directories The directories that should be built. (defaults to "web")</p> <p>-b, --branch The git branch where the built content should be committed. (defaults to "gh-pages")</p> <p>-c, --build-config The configuration to use when running <code>build_runner</code>.</p> <pre>--[no-]release (defaults to on) </pre> <p>-m, --message (defaults to "Built ") --[no-]source-branch-info Includes the name of the source branch and SHA in the commit message (defaults to on)</p> <pre>--post-build-dart-script Optional Dart script to run after all builds have completed, but before files are committed to the repository.

--builder-options Builder options YAML or a path to a file containing builder options YAML. See the README for details.

--[no-]verbose Print more details when running. --dry-run Verifies configuration and prints commands that would be executed, but does not do any work. </pre> <p>-h, --help Prints usage information. --version Print the current version.

<p>margin-bottom: 16px; color: rgb(0, 0, 0); font-family: Roboto, sans-serif;](The <code>background: rgba(27, 31, 35, 0.05); border: 1px solid rgb(238, 238, 238); font-family: &quot;Source Code Pro&quot;, Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; border-radius: 3px;](peanut.yaml</code> from this repository:</p>

Tags: flutter flutterweb flutterisfuture dart flutterforweb peanut








0 Comments
Login to comment.
Recent Comments