Last active
October 27, 2022 01:56
-
-
Save zkwsk/a3abb7a6bb03fc069ec081f024da8927 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
projects: | |
- name: 'your-project' # Name may contain lowercase letters, spaces, numbers, hyphens, and underscores | |
description: 'Your project description' | |
# List of totally customizable environments, e.g Test, Stage, QA, CI-CD | |
environments: | |
- name: 'Development' # Name may contain letters, spaces, numbers, hyphens, and underscores | |
slug: 'dev' # Slug may contain letters, numbers, hyphens, and underscores | |
configs: | |
- slug: 'dev' # First slug *must* match environment slug name | |
- name: 'CI-CD' | |
slug: 'ci-cd' | |
configs: | |
- slug: 'ci-cd' | |
- slug: 'ci-cd_github' # Branch configs supported | |
- slug: 'ci-cd_gitlab' | |
- name: 'Test' | |
slug: 'test' | |
configs: | |
- slug: 'test' | |
- name: 'Production' | |
slug: 'prd' | |
configs: | |
- slug: 'prd' | |
# Define secrets for each environment | |
secrets: | |
dev: | |
ENV: 'development' | |
API_KEY: '' | |
ci-cd: | |
DOCKER_HUB_USERNAME: '' | |
DOCKER_HUB_TOKEN: '' | |
THE_STUFF: '' | |
test: | |
ENV: 'development' | |
API_KEY: '' | |
prd: | |
ENV: 'production' | |
API_KEY: '' | |
- name: 'your-other-project' # Name may contain lowercase letters, spaces, numbers, hyphens, and underscores | |
description: 'Your project description' | |
# List of totally customizable environments, e.g Test, Stage, QA, CI-CD | |
environments: | |
- name: 'Development' # Name may contain letters, spaces, numbers, hyphens, and underscores | |
slug: 'dev' # Slug may contain letters, numbers, hyphens, and underscores | |
configs: | |
- slug: 'dev' # First slug *must* match environment slug name | |
- name: 'CI-CD' | |
slug: 'ci-cd' | |
configs: | |
- slug: 'ci-cd' | |
- slug: 'ci-cd_github' # Branch configs supported | |
- slug: 'ci-cd_gitlab' | |
- name: 'Test' | |
slug: 'test' | |
configs: | |
- slug: 'test' | |
- name: 'Production' | |
slug: 'prd' | |
configs: | |
- slug: 'prd' | |
# Define secrets for each environment | |
secrets: | |
dev: | |
ENV: 'development' | |
API_KEY: '' | |
ci-cd: | |
DOCKER_HUB_USERNAME: '' | |
DOCKER_HUB_TOKEN: '' | |
test: | |
ENV: 'development' | |
API_KEY: '' | |
prd: | |
ENV: 'production' | |
API_KEY: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment