Skip to content

Commit

Permalink
Merge branch 'main' into lirber/sourmash_4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Jul 3, 2024
2 parents a3ae7e5 + 3686f28 commit 38267c8
Show file tree
Hide file tree
Showing 474 changed files with 16,327 additions and 30,400 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/.condarc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
channels:
- "https://repo.mamba.pm/emscripten-forge"
- /home/runner/micromamba/envs/ci/conda-bld
- conda-forge

add_pip_as_python_dependency: false
add_pip_as_python_dependency: true
98 changes: 0 additions & 98 deletions .github/workflows/build_all.yaml

This file was deleted.

72 changes: 72 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: docs

on:
workflow_dispatch:
push:
paths:
- 'docs/**'
pull_request:
paths:
- 'docs/**'
jobs:

build_docs:
runs-on: ubuntu-latest
env:
TARGET_PLATFORM: emscripten-wasm32
GITHUB_OWNER: "emscripten-forge"
strategy:
fail-fast: false
matrix:
emsdk_ver: ["3.1.45"]

steps:
################################################################
# SETUP
################################################################
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0

################################################################
# CONFIG
################################################################
- uses: prefix-dev/setup-pixi@v0.6.0
with:
pixi-version: v0.20.1
- run: |
pixi run docs-build -d docs_build
################################################################
# upload to github pages
################################################################
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs_build

deploy:
# only run on main branch
if: github.ref == 'refs/heads/main' && github.repository == 'emscripten-forge/recipes'

# Add a dependency to the build job
needs: build_docs

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read # to read the Pages artifact
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3 # or specific "vX.X.X" version tag for this action
Loading

0 comments on commit 38267c8

Please sign in to comment.