Created
February 1, 2021 12:40
-
-
Save princefishthrower/f672cd1842268ffe6206db19e9682720 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipelines: | |
branches: | |
staging: | |
- step: | |
name: Copy Staging Environment (.env.staging.json) to .env.json | |
script: | |
- cp /src/env/.env.staging.json /src/env/.env.json | |
- curl -X POST -H 'Content-type: application/json' --data '{"text":"Staging environment copied into environment!"}' YOUR_WEBHOOK_URL_HERE | |
master: | |
- step: | |
name: Copy Production Environment (.env.production.json) to .env.json | |
script: | |
- cp /src/env/.env.production.json /src/env/.env.json | |
- curl -X POST -H 'Content-type: application/json' --data '{"text":"Production environment copied into environment!"}' YOUR_WEBHOOK_URL_HERE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment