Skip to content

Merge pull request #15 from smvgarcia/main #17

Merge pull request #15 from smvgarcia/main

Merge pull request #15 from smvgarcia/main #17

Workflow file for this run

name: build
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
name: Build and Deploy Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v3
- name: Install Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Deploy Github Pages
run: |
git pull
mkdocs gh-deploy