Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfshao authored Apr 26, 2023
1 parent 99ab042 commit d71bfce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
name: build

# Controls when the workflow will run
on:
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
#pull_request:
# branches: [ "main" ]

Expand All @@ -30,8 +32,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: pip
cache: 'pip' # caching pip dependencies
# install dependencies listed in requirements.txt file
- run: python3 -m pip install -r requirements.txt
- run: pip install -r requirements.txt
# deploy mkdocs to github pages
- run: mkdocs gh-deploy --force --clean --verbose

0 comments on commit d71bfce

Please sign in to comment.