Skip to content

build

build #157

Workflow file for this run

name: build
on:
schedule:
- cron: '0 0 * * 0'
push:
branches:
- master
- main
jobs:
computorticle:
runs-on: "ubuntu-latest"
steps:
- name: Checking out repository for Github action
uses: actions/checkout@v2
- name: Installing dependencies with Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: false
miniconda-version: 'latest'
python-version: 3.9
environment-file: environment.yml
activate-environment: computo
- name: Execute and convert myst to md
shell: bash -l {0}
run: |
make
touch _build/html/.nojekyll
- name: Deploying article on github pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _build/html
CLEAN: true