This commit is contained in:
Ace 2023-06-03 20:16:21 +02:00
parent cadb3042ff
commit 31074b056d

View File

@ -62,7 +62,7 @@ jobs:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
run: | run: |
source venv/bin/activate source venv/bin/activate
cd Inkycal/tests cd inkycal/tests
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
for f in *.py; do python3 "$f"; done for f in *.py; do python3 "$f"; done
@ -84,7 +84,7 @@ jobs:
- name: Generate Docs - name: Generate Docs
run: | run: |
source venv/bin/activate source venv/bin/activate
cd Inkycal/docsource cd docsource
make html make html
publish-docs: publish-docs:
@ -105,7 +105,7 @@ jobs:
- name: Publish Docs - name: Publish Docs
run: | run: |
source venv/bin/activate source venv/bin/activate
cp -R Inkycal/docsource/_build/html/. docs/ cp -R docsource/_build/html/. docs/
git config --global user.name 'GitHub Actions' git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com' git config --global user.email 'actions@github.com'
git add docs git add docs