Update tests.yml
This commit is contained in:
parent
2f298a6086
commit
aca9203d13
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@ -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/*'
|
||||
|
Loading…
Reference in New Issue
Block a user