Skip to content

Commit

Permalink
feat(post): update content for “Deployment Methods”
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 10, 2017
1 parent d41e7bb commit 4933c42
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion _app/_posts/note/2016-03-18-deployment-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,15 @@ Just about any traditional web hosting provider will let you upload files to the
There's a `_deploy.yml` at the root of your AMSF project containing a basic `rsync` configurations. Change these configurations to yours and then run:

```bash
$ grunt --deploy=rsync
$ grunt deploy:rsync
```

You can deploy it for specific environment, the following command will deploy your site to `beta` environment via `rsync` method you defined in `_deploy.yml`:

```bash
$ grunt deploy:rsync --env=beta
```

## Amazon S3 (s3_website)

You can also deploy your site to Amazon S3 via [s3_website](https://github.com/laurilehmijoki/s3_website), see `s3_website.example.yml` for more info.

0 comments on commit 4933c42

Please sign in to comment.