Update tests.yml
This commit is contained in:
parent
b7001a1293
commit
62c898e891
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -117,8 +117,6 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: workspace
|
name: workspace
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract Workspace Archive
|
- name: Extract Workspace Archive
|
||||||
run: |
|
run: |
|
||||||
@ -131,8 +129,6 @@ 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 ..
|
||||||
echo "$PWD"
|
|
||||||
ls
|
|
||||||
git add docs/*
|
git add docs/*
|
||||||
git status
|
git status
|
||||||
|
|
||||||
@ -142,7 +138,7 @@ jobs:
|
|||||||
ls
|
ls
|
||||||
git config user.name "github-actions"
|
git config user.name "github-actions"
|
||||||
git config user.email "github-actions@github.com"
|
git config user.email "github-actions@github.com"
|
||||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_SECRET }}@github.com/$GITHUB_REPOSITORY
|
||||||
git add docs/*
|
git add docs/*
|
||||||
git commit -m "update docs"
|
git commit -m "update docs"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user