Skip to content

Merge pull request #19 from IATI/fix-homepage-link #20

Merge pull request #19 from IATI/fix-homepage-link

Merge pull request #19 from IATI/fix-homepage-link #20

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
jobs:
release:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/iati-sphinx-theme
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
run: npm ci
- name: Build CSS
run: npm run build
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}