Skip to content

Commit

Permalink
chore: Update copy action in README (#193)
Browse files Browse the repository at this point in the history
Fixes #192
  • Loading branch information
ChunhThanhDe authored Feb 8, 2025
1 parent 1d48e06 commit c02d7f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ in another branch. An easy way to update [gh-pages](https://pages.github.com/).
## Install

```console
$ dart pub global activate peanut
dart pub global activate peanut
```

_or_

```console
$ flutter pub global activate peanut
flutter pub global activate peanut
```

## Run

```console
$ peanut
peanut
```

_or_

```console
$ flutter pub global run peanut
flutter pub global run peanut
```

This will build your project into a temporary directory, and then it will update
Expand Down Expand Up @@ -112,14 +112,14 @@ The easiest way to push your `gh-pages` branch to github (without switching from
your working branch) is:

```console
$ git push origin --set-upstream gh-pages
git push origin --set-upstream gh-pages
```

To create (or update) your local `gh-pages` branch to match what's on the
server.

```console
$ git update-ref refs/heads/gh-pages origin/gh-pages
git update-ref refs/heads/gh-pages origin/gh-pages
```

This is also useful if you want to undo a `peanut` run.
Expand Down

0 comments on commit c02d7f1

Please sign in to comment.