From b8a14e95d897cc62e2eeba2bc5932c9dc712e4bd Mon Sep 17 00:00:00 2001 From: Dmitry Dunaev Date: Tue, 29 Nov 2022 14:35:38 +0300 Subject: [PATCH] [WIFI-11729] Fix: gh-pages file Signed-off-by: Dmitry Dunaev --- .github/workflows/openapi-pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/openapi-pages.yml b/.github/workflows/openapi-pages.yml index 15d2d1a..e969777 100644 --- a/.github/workflows/openapi-pages.yml +++ b/.github/workflows/openapi-pages.yml @@ -24,8 +24,6 @@ jobs: - name: Update OpenAPI docs run: | - mkdir tmp-docs - mv index.html tmp-docs/index.html mkdir -p ~/.ssh ssh-keyscan -H github.com >> ~/.ssh/known_hosts echo https://tip-automation:${{ secrets.GIT_PUSH_PAT }}@github.com > ~/.git-credentials @@ -34,7 +32,7 @@ jobs: git config --global user.name "TIP Automation User" git pull git checkout gh-pages || git checkout -b gh-pages - mv tmp-docs docs + mv index.html docs/index.html git add docs git commit -m'Update OpenAPI docs for GitHub pages' git push --set-upstream origin gh-pages