build #206
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: 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 | |