Skip to content

Commit 108e12d

Browse files
authored
Merge pull request #131 from OpenLiberty/qa
Merge qa to master: Added conversion action (#130)
2 parents d9f9621 + d7ba159 commit 108e12d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Rebuild cloud-hosted guide
2+
3+
# Controls when the action will run. Triggers the workflow on push
4+
# events but only for the master branch
5+
on:
6+
push:
7+
branches:
8+
- 'master'
9+
- 'qa'
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "post"
14+
post:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+
# Uses the secrets from the organisation for credentials
22+
- uses: actions/checkout@v2
23+
24+
- name: Invoke workflow in another repo with inputs
25+
uses: benc-uk/workflow-dispatch@v1
26+
with:
27+
workflow: GuideConverter
28+
repo: OpenLiberty/cloud-hosted-guides
29+
token: ${{ secrets.GUIDECONVERSIONTOOL_PASSWORD }}
30+
inputs: '{ "branch": "${{ github.ref }}", "guide_name": "${{ github.event.repository.name }}" }'
31+
ref: "refs/heads/prod"

0 commit comments

Comments
 (0)