Add News item for 1.12 release #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ "sources" ] | |
pull_request: | |
branches: [ "sources" ] | |
env: | |
# Set this in the github variables, when deploying on fork | |
# for proper relative paths | |
BASE_URL_PREFIX: ${{ vars.BASE_URL_PREFIX }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
set -e | |
pip install jinja2 babel doctr | |
- name: Generate Docs | |
run: | | |
./generate | |
- name: Copy all build files to root | |
run: | | |
cp build/* . -r | |
rm -rf build | |
- name: Deploy 🚀 | |
if: github.ref == 'refs/heads/sources' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: . |