Update tests.yml

This commit is contained in:
Ace 2023-07-24 10:44:44 +02:00 committed by GitHub
parent 2f298a6086
commit aca9203d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ jobs:
clone-setup-install:
name: Clone, Setup, and Install
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
@ -112,7 +113,7 @@ jobs:
permissions:
contents: write
steps:
steps:
- uses: actions/download-artifact@v2
with:
name: workspace
@ -128,15 +129,12 @@ jobs:
pip install sphinxemoji sphinx_rtd_theme recommonmark
cd docsource
make html && make github && cd ..
git add docs/*
git status
- name: publish
run: |
git status
git config user.name github-actions
git config user.email github-actions@github.com
git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_TOKEN_INKYCAL_DOCS }}@github.com/$GITHUB_REPOSITORY
git add docs/*
git commit -m "update docs"
git push --force
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: update docs
committer_name: GitHub Actions
committer_email: actions@github.com
add: 'docs/*'