Added logic around withdrawal cascades #4046
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generate-docs | |
defaults: | |
run: | |
shell: bash | |
working-directory: meta | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: install requirements | |
run: pip3 install -r requirements.txt | |
- name: generate-docs.py | |
run: python3 generate-docs.py | |
- name: generate-docs-index.py | |
run: python3 generate-docs-index.py | |
- name: git status | |
run: git status | |
- name: git add . | |
run: git add . | |
- name: Commit files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Robert Brook" | |
git commit -m "Automated build push" | |
- name: Push changes | |
if: github.ref == 'refs/heads/master' | |
uses: ad-m/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: echo index github folder | |
run: echo "https://ukparliament.github.io/ontologies/meta/html/" | |