Skip to content

Commit

Permalink
Deploy: Build, publish & deploy etl-test-builds:(Requires human appro…
Browse files Browse the repository at this point in the history
…val)
  • Loading branch information
corneliouzbett committed Aug 20, 2021
1 parent d7a1583 commit fc2fb73
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@ on:
push:
branches: [master]
jobs:
docker:
approve:
runs-on: ubuntu-latest

steps:
-
name: Approve
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.

build_and_publish:
name: Build Publish and Deploy Beta

runs-on: ubuntu-latest

needs: [approve]
environment:
name: Deploy Test Build

steps:
-
name: Check Out Repo
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/deploy-test-build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Build, publish & deploy $branch
name: Deploy test-build

on:
create:
branches: '*'
push:
branches-ignore:
- 'master'

jobs:
docker:
name: Build Publish and Deploy
build_and_publish:
name: build, publish, & deploy

runs-on: ubuntu-latest

steps:
# Check out code
-
name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit fc2fb73

Please sign in to comment.