Skip to content

make it run on my branch #32

make it run on my branch

make it run on my branch #32

name: Deploy Environments
permissions: read-all
on:
push:
branches:
- main
- james/test_k3s_ansible
workflow_dispatch:
branches:
- main
jobs:
deploy_dev3:
name: Deploy dev3
uses: ./.github/workflows/deploy_k8s_cluster.yaml
with:
environment: dev3
secrets: inherit
#if: github.ref == 'refs/heads/main'
deploy_prod1:
name: Deploy prod1
needs: deploy_dev3
uses: ./.github/workflows/deploy_k8s_cluster.yaml
with:
environment: prod1
secrets: inherit
if: github.ref == 'refs/heads/main'