Skip to content

adding more .yml files #2

adding more .yml files

adding more .yml files #2

name: pull request environment
on:
pull_request:
types: [opened]
push:
branches: [separateBranch]
jobs:
deploy-to-kubernetes:
runs-on: self-hosted
steps:
- name: check out code
uses: actions/checkout@v4
- name: deploy kubernetes environment
run: |
export PULL_REQUEST_ID=${{ github.event.pull_request.number}}
kubectl create namespace bryce-pr-$PULL_REQUEST_ID || true
kubectl -n bryce-pr-$PULL_REQUEST_ID delete configmap blazor-web-postgres-init || true
kubectl -n bryce-pr-$PULL_REQUEST_ID create configmap blazor-web-postgres-init --from-file=../TestTicket/20240215.01.21.01.sql