Merge pull request #5 from hossain-khan/hk/add-timeline-edits-schema #73
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: Deploy Site | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python runtime | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.2 | |
- name: Build and deploy | |
env: | |
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} | |
run: | | |
pip install -r requirements.txt | |
make clean | |
make deploy | |
mkdocs gh-deploy --force |