# https://github.com/chabad360/hugo-gh-pages
name: github pages

on:
  push:
    branches:
      - master

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@master
        with:
          submodules: true
      - name: Publish Site
        uses: chabad360/hugo-gh-pages@master
        with:
          githubToken: ${{ secrets.PERSONAL_TOKEN }}
          branch: master
          cname: numpy.org
          repo: numpy/numpy.github.com
          hugoVersion: extended_0.74.3 # Locked version, see issue #363

# https://github.com/chabad360/hugo-gh-pages
name: github pages

on:
  push:
    branches:
      - master

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@master
        with:
          submodules: true
      - name: Setup Python
        uses: actions/setup-python@v2
      - name: Generate config.yaml
        run: python gen_config.py
      - name: Publish Site
        uses: chabad360/hugo-gh-pages@master
        with:
          githubToken: ${{ secrets.PERSONAL_TOKEN }}
          branch: master
          cname: numpy.org
          repo: numpy/numpy.github.com
          hugoVersion: extended_0.74.3 # Locked version, see issue #363

Make config.yaml generation work in GitHub Actions
Make config.yaml generation work in GitHub Actions
