Skip to content

Pin build requirements file (#35) #26

Pin build requirements file (#35)

Pin build requirements file (#35) #26

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
- master
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install -r requirements.txt
- name: Build
run: ./build.sh
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/html
repository-name: OasisLMF/OasisLMF.github.io
token: ${{ secrets.BUILD_DEPLOY_TOKEN }}