Rephrase the CircleCI v2 section (#7815)

Merge pull request 7815
This commit is contained in:
Kayce Basques 2019-09-12 10:45:26 +08:00 committed by jekyllbot
parent 9f389e0ada
commit dd409b7ebc
1 changed files with 7 additions and 1 deletions

View File

@ -61,6 +61,8 @@ test:
## Complete Example circle.yml File ## Complete Example circle.yml File
### CircleCI v1
When you put it all together, here's an example of what that `circle.yml` file could look like in v1: When you put it all together, here's an example of what that `circle.yml` file could look like in v1:
```yaml ```yaml
@ -83,7 +85,11 @@ deployment:
- rsync -va --delete ./_site username@my-website:/var/html - rsync -va --delete ./_site username@my-website:/var/html
``` ```
for CircleCI v2, a Docker-based system which new projects will follow, set the `S3_BUCKET_NAME` environment variable (an example of the required config file is shown below). ### CircleCI v2
CircleCI v2 is a Docker-based system. The example `circle.yml` below demonstrates how to
deploy your Jekyll project to AWS. In order for this to work you would first have to set the
`S3_BUCKET_NAME` [environment variable](https://circleci.com/docs/2.0/env-vars/).
```yaml ```yaml
defaults: &defaults defaults: &defaults