Skip to content

Merge pull request #52 from mouse-reeve/dependabot/pip/jinja2-3.1.4 #9

Merge pull request #52 from mouse-reeve/dependabot/pip/jinja2-3.1.4

Merge pull request #52 from mouse-reeve/dependabot/pip/jinja2-3.1.4 #9

Workflow file for this run

name: Update and deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: pip install -r requirements.txt
- name: Compile site
run: python3 format_file.py -ao html
- name: Deploy to server
id: deploy
uses: Pendect/[email protected]
env:
DEPLOY_KEY: ${{secrets.DEPLOY_KEY}}
with:
flags: '-avzr --delete'
options: ''
ssh_options: ''
src: 'html/'
dest: '[email protected]:~/recipes/html'