aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlex <git@ajschof.me>2024-08-20 22:49:01 +0100
committerGitHub <noreply@github.com>2024-08-20 22:49:01 +0100
commit2516e310f57fef0072c0e32998af6a505413632b (patch)
tree7582347469f9fc35db4800955be5c995f747faf5 /.github/workflows
parented8282c2e400a5a7ed3e0490743ddc0cc6b86e1f (diff)
parentaf875cb7ea691c6475dc936fc0bf3343eb1786dc (diff)
downloadde-project-bentley-2516e310f57fef0072c0e32998af6a505413632b.tar.gz
de-project-bentley-2516e310f57fef0072c0e32998af6a505413632b.zip
Merge pull request #80 from ajschofield/development
pr: github actions trigger deployment only if ref is main
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 5672048..09b8490 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -11,6 +11,7 @@ on:
jobs:
deploy-terraform:
+ if: github.ref == 'refs/heads/main'
name: Deploy Terraform
runs-on: ubuntu-latest
#needs: run-checks (must ref on-commit.yml file)
git.ajschof.me — hosted by ajschofield — powered by cgit