mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
feat: run kustomize action after image is created
This commit is contained in:
parent
19126075a0
commit
fbe39b62c2
1 changed files with 6 additions and 5 deletions
11
.github/workflows/kustomize.yml
vendored
11
.github/workflows/kustomize.yml
vendored
|
@ -1,17 +1,18 @@
|
||||||
name: Deploy Kustomize k8s cluster
|
name: Deploy Kustomize k8s cluster
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_run:
|
||||||
push:
|
workflows: ["Build and Push Docker image"]
|
||||||
branches:
|
branches: [master, staging]
|
||||||
- 'master'
|
types:
|
||||||
- 'staging'
|
- completed
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 1 * *'
|
- cron: '0 0 1 * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-kustomize-cluster:
|
create-kustomize-cluster:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in a new issue