File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments