Skip to content

Merge pull request #12 from consumer-reports-innovation-lab/verifykey… #16

Merge pull request #12 from consumer-reports-innovation-lab/verifykey…

Merge pull request #12 from consumer-reports-innovation-lab/verifykey… #16

name: Generate Directories
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- uses: mathiasvr/[email protected]
with:
run: python -m publish_script
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: docs
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}