Skip to content

chore: make the compose image tag selectable for deploy.sh #19

chore: make the compose image tag selectable for deploy.sh

chore: make the compose image tag selectable for deploy.sh #19

Workflow file for this run

name: Deploy site to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm ci
# The site's vite downloadPlugin emits packages/inchi-js/lib/* as
# static assets, so the library must be bundled before the site
# build runs.
- run: npm run tsc -w inchi-js
- run: npm run build -w inchi.cheminfo.org
env:
BASE_PATH: /inchi-js/
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: packages/inchi.cheminfo.org/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4