Skip to content

Commit

Permalink
generate pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oak committed Mar 5, 2022
1 parent 2a02188 commit c11f0f4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/generate-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: generate-jekyll-pages-for-docs

on:
workflow_run:
workflows: [ Update gh-pages ]
branches: [ master ]
types: [ completed ]

jobs:
generate-jekyll-pages:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: gh-pages

- name: Generate pages from present docs folders and templates
run: bash ./generate-pages.sh
env:
MASTER_BRANCH_NAME: master
SOURCE_INDEX_FILE: README.md

- name: Commit changes
uses: EndBug/[email protected]



0 comments on commit c11f0f4

Please sign in to comment.