Skip to content

Commit

Permalink
WIP openshift deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Gerlach committed Nov 22, 2023
1 parent 456fe20 commit aade8fa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-openshift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to OpenShift

on:
pull_request:
paths:
- "src/**"
- ".github/workflows/**"
- "Makefile"
- "pyproject.toml"
- "poetry.lock"
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Deploy to OpenShift'
uses: redhat-actions/openshift-actions@v1
with:
openshift_server_url: ${{ secrets.OPENSHIFT_SERVER_URL }}
openshift_token: ${{ secrets.OPENSHIFT_API_TOKEN }}
openshift_namespace: ${{ secrets.OPENSHIFT_PROJECT_NAME }}

0 comments on commit aade8fa

Please sign in to comment.