Skip to content

chore(ci): deployer higher-level environments, merge workflow #9

chore(ci): deployer higher-level environments, merge workflow

chore(ci): deployer higher-level environments, merge workflow #9

Workflow file for this run

name: Merge
on:
pull_request:
push:
branches: [main]
paths-ignore:
- '*.md'
- '.github/**'
- '.graphics/**'
- '!.github/workflows/**'
workflow_dispatch:
inputs:
pr_no:
description: "PR-numbered container set to deploy"
type: number
required: true
jobs:
vars:
name: Set Variables
outputs:
pr: ${{ steps.pr.outputs.pr }}
runs-on: ubuntu-22.04
timeout-minutes: 1
steps:
# Get PR number for squash merges to main
- name: PR Number
id: pr
uses: bcgov-nr/action-get-pr@v0.0.1
deploy-test:
name: Deploy (test)
needs: [vars]
uses: ./.github/workflows/.deployer.yml
secrets:
oc_token: ${{ secrets.oc_token }}
with:
environment: test
oc_namespace: ${{ vars.oc_namespace }}
params: --set global.autoscaling=false
release: test
tag: ${{ needs.vars.outputs.pr }}