Skip to content

Updates the micromamba action #722

Updates the micromamba action

Updates the micromamba action #722

Workflow file for this run

name: Build and Deploy docs
on: [push, pull_request]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Conda environment from environment.yml
uses: mamba-org/setup-micromamba@v2.0.0
environment-file: environment.yml

Check failure on line 16 in .github/workflows/deploy-docs.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy docs

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-docs.yml (Line: 16, Col: 9): Unexpected value 'environment-file' .github/workflows/deploy-docs.yml (Line: 17, Col: 9): Unexpected value 'cache-environment'
cache-environment: true
- name: Build documentation
shell: bash -l {0}
run: |
make html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
if: github.ref == 'refs/heads/source' && github.repository == 'oceanhackweek/oceanhackweek.github.io'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: _build/html
CLEAN: false