Skip to content

no need to skip Add file statement (#197) #40

no need to skip Add file statement (#197)

no need to skip Add file statement (#197) #40

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"