Skip to content

shpc update docs

shpc update docs #715

Workflow file for this run

name: shpc update docs
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
push:
branches: [main]
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "gh-pages"
- name: Create conda environment
run: conda create --quiet -c conda-forge --name shpc spython
- name: Check out main
uses: "actions/checkout@v3"
with:
ref: "main"
path: "tmp-registry"
- name: Install shpc
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate shpc
pip install git+https://github.com/singularityhub/singularity-hpc@main
- name: Generate docs
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate shpc
/bin/bash generate.sh ./tmp-registry
rm -r tmp-registry
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: .