fixing actions

This commit is contained in:
Ace 2023-06-03 19:02:12 +02:00
parent 091d599f41
commit 436d3acecd

View File

@ -40,17 +40,13 @@ jobs:
cd docsource && make html cd docsource && make html
make github make github
cd .. cd ..
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
cd .. && cd .. # cd .. && cd ..
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 config --global init.defaultBranch main git add docs
cd docs/
git init
git add -A
git commit -m "Update documentation" git commit -m "Update documentation"
cd .. git push --force --quiet
git push --force --quiet --set-upstream "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" main