Skip to content

Commit 369cf0d

Browse files
committed
fix: remove on-push hook
1 parent b6dba3f commit 369cf0d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/modified-dev.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Build & Deploy to Frontend DEV
22

33
env:
4-
# 🖊️ EDIT your repository secrets to log into your OpenShift cluster and set up the context.
4+
# EDIT your repository secrets to log into your OpenShift cluster and set up the context.
55
# See https://github.com/redhat-actions/oc-login#readme for how to retrieve these values.
66
# To get a permanent token, refer to https://github.com/redhat-actions/oc-login/wiki/Using-a-Service-Account-for-GitHub-Actions
77
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
88
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
9-
# 🖊️ EDIT to set the kube context's namespace after login. Leave blank to use your user's default namespace.
9+
# EDIT to set the kube context's namespace after login. Leave blank to use your user's default namespace.
1010
OPENSHIFT_NAMESPACE_DEV: ${{ secrets.IOSAS_NAMESPACE_NO_ENV }}-dev
1111
OPENSHIFT_NAMESPACE_TEST: ${{ secrets.EDX_NAMESPACE_NO_ENV }}-test
1212

@@ -16,7 +16,7 @@ env:
1616
CERTIFICATE: ${{ secrets.CERT }}
1717
PRIVATE_KEY: ${{ secrets.PRIV_KEY }}
1818

19-
# 🖊️ EDIT to change the image registry settings.
19+
# EDIT to change the image registry settings.
2020
# Registries such as GHCR, Quay.io, and Docker Hub are supported.
2121
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
2222
IMAGE_REGISTRY_USER: ${{ github.actor }}
@@ -52,9 +52,7 @@ env:
5252
#SITE_URL: dev-ecc-iosas.apps.silver.devops.gov.bc.ca
5353

5454
on:
55-
push:
56-
branches:
57-
- main-dev
55+
workflow_dispatch:
5856

5957
jobs:
6058
build-and-deploy-dev:

0 commit comments

Comments
 (0)