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