[WIFI-11619] Chg: GitHub Pages dir

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
Dmitry Dunaev
2022-11-24 15:53:42 +03:00
parent 840c0a84bf
commit b9de0e28b4

View File

@@ -42,7 +42,7 @@ jobs:
- name: Update allure report - name: Update allure report
run: | run: |
mv allure-report tmp-report mv allure-report tmp-docs
rm -rf allure-* rm -rf allure-*
mkdir -p ~/.ssh mkdir -p ~/.ssh
ssh-keyscan -H github.com >> ~/.ssh/known_hosts ssh-keyscan -H github.com >> ~/.ssh/known_hosts
@@ -52,8 +52,8 @@ jobs:
git config --global user.name "TIP Automation User" git config --global user.name "TIP Automation User"
git pull git pull
git checkout gh-pages git checkout gh-pages
mv tmp-report report mv tmp-docs docs
git add report git add docs
git commit -m'Update allure report for github pages' git commit -m'Update allure report for github pages'
- name: Publish Allure report to GitHub Pages - name: Publish Allure report to GitHub Pages
@@ -61,7 +61,7 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages branch: gh-pages
directory: ./report directory: ./docs
cleanup: cleanup:
needs: [build, testsgen] needs: [build, testsgen]