diff --git a/.github/workflows/backup-database.yml b/.github/workflows/backup-database.yml index a2f378e..3f27e4f 100644 --- a/.github/workflows/backup-database.yml +++ b/.github/workflows/backup-database.yml @@ -6,12 +6,12 @@ on: workflow_dispatch: jobs: backup: - runs-on: self-hosted + runs-on: brycelabel steps: - name: backup run: | CONTAINER_NAME=$(kubectl -n bryce2 get pods --no-headers -o custom-columns=":metadata.name" | grep "blazor-web-db-deployment") kubectl -n bryce2 exec -t $CONTAINER_NAME -- \ pg_dumpall -c -U postgres \ - > /home/bryce/dump.sql + > /home/bryce/dump.sql \ No newline at end of file diff --git a/.github/workflows/pull-request-workflow.yml b/.github/workflows/pull-request-workflow.yml index 1f48b15..49c841b 100644 --- a/.github/workflows/pull-request-workflow.yml +++ b/.github/workflows/pull-request-workflow.yml @@ -16,4 +16,4 @@ jobs: 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=init.sql \ No newline at end of file + kubectl -n bryce-pr-$PULL_REQUEST_ID create configmap blazor-web-postgres-init --from-file=../TestTicket/20240215.01.21.01.sql \ No newline at end of file