Skip to content

Merge pull request #1 from bright/release/prod/1.23 #14

Merge pull request #1 from bright/release/prod/1.23

Merge pull request #1 from bright/release/prod/1.23 #14

on:
push:
branches:
- main
name: Build, Test, Deploy
jobs:
compile:
runs-on: ubuntu-latest
steps:
- run: echo 'Compile'
name: "Compile"
test:
runs-on: ubuntu-latest
needs:
- compile
steps:
- run: echo 'Test'
name: "Test"
lint:
runs-on: ubuntu-latest
needs:
- compile
steps:
- run: echo 'Lint'
name: "Lint"
deploy-staging:
runs-on: ubuntu-latest
environment: staging
needs:
- lint
- test
steps:
- run: echo 'Deploy to staging'
name: "Deploy to staging"
deploy-production:
runs-on: ubuntu-latest
environment: production
needs:
- deploy-staging
steps:
- run: echo 'Deploy to production ‼️'
name: "Deploy to production"