Skip to content

Instantly share code, notes, and snippets.

<!-- VERSION is the version of the agent you wish to use -->
<dependency>
<groupId>com.dripstat</groupId>
<artifactId>apm-agent</artifactId>
<version>VERSION</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
pipelines:
default:
- step:
name: deploy to dev
script:
- export AWS_ACCESS_KEY_ID="$DEV_AWS_ACCESS_KEY_ID"
- export AWS_SECRET_ACCESS_KEY="$DEV_AWS_ACCESS_KEY_SECRET"
- aws s3 sync --delete _site s3://$DEV_S3_BUCKET
branches:
pipelines:
default:
- step:
name: deploy to dev
script:
# We are now actually deploying our dev branch to prod!!
- export AWS_ACCESS_KEY_ID="$PROD_AWS_ACCESS_KEY_ID"
- export AWS_SECRET_ACCESS_KEY="$PROD_AWS_ACCESS_KEY_SECRET"
- aws s3 sync --delete _site s3://$PROD_S3_BUCKET