Skip to content

Add make multi-arch build #197

Add make multi-arch build

Add make multi-arch build #197

Workflow file for this run

name: Build site
on:
push:
branches:
- master
jobs:
build-html-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
miniconda-version: "latest"
python-version: 3.8
- name: Install jekyll
shell: bash -l {0}
run: |
conda install -c conda-forge rb-github-pages rb-jekyll-scholar
gem install just-the-docs
- name: Build the site
shell: bash -l {0}
run: |
make website
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Build website" --allow-empty
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true