Skip to content

Merge pull request #200 from OpenLiberty/gkwan-ibm-mp-config-profile #43

Merge pull request #200 from OpenLiberty/gkwan-ibm-mp-config-profile

Merge pull request #200 from OpenLiberty/gkwan-ibm-mp-config-profile #43

name: ManuallyConverterAllGuidesProd
on:
push:
branches:
- main
workflow_dispatch:
inputs:
branch:
description: 'Branch pushed to'
required: true
default: 'refs/heads/prod'
GuideConverterBranch:
description: 'GuideConverter branch to use'
required: true
default: 'refs/heads/main'
jobs:
post:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Uses the secrets from the organisation for credentials
- uses: actions/checkout@v2
- name: Invoke workflow in another repo with inputs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: ManuallyConverterAllGuides
repo: OpenLiberty/cloud-hosted-guides
token: ${{ secrets.GUIDECONVERSIONTOOL_PASSWORD }}
inputs: '{ "branch": "prod", "GuideConverterBranch": "refs/heads/main" }'
ref: "refs/heads/prod"