Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Bump jinja2 from 2.11.3 to 3.1.4 #1650

Bump jinja2 from 2.11.3 to 3.1.4

Bump jinja2 from 2.11.3 to 3.1.4 #1650

name: build and deploy
on:
# run when action is manually triggered
workflow_dispatch:
inputs:
deploy:
description: 'Deploy ?'
required: false
default: 'false'
# run when a pull request is made
pull_request:
# run on pushes to main or stable branch
push:
branches: [ main, stable ]
jobs:
# job id/key
build-and-deploy:
# job name
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install scipy
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Install Ruby dependencies
run: |
gem update --system
gem install bundler
- run: make install
- run: make book
- run: make site
- name: Deploy
if: ${{ github.event_name == 'push'|| github.event.inputs.deploy == 'true' }}
run: ./deploy.sh
shell: bash
env:
encrypted_rclone_iv: ${{ secrets.ENCRYPTED_RCLONE_IV }}
encrypted_rclone_key: ${{ secrets.ENCRYPTED_RCLONE_KEY }}
GITHUB_BRANCH: ${{ github.ref }}