diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index a66b485f..c328943f 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -79,14 +79,14 @@ jobs: echo "==============================" - - name: Deploy Allure report to Gitea ci-allure-reports branch + - name: Deploy Allure report to GitHub run: | - git clone --branch ci-allure-reports https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.git gitea-allure-reports - rm -rf gitea-allure-reports/* - cp -r ci-reports/allure/* gitea-allure-reports/ - cd gitea-allure-reports + git clone https://x-access-token:${{ secrets.RENDER_GITHUB_TOKEN }}@github.com/Yaspsi/pytest-report-render.git deploy-repo + rm -rf deploy-repo/* + cp -r ci-reports/allure/* deploy-repo/ + cd deploy-repo git config user.name "ci-bot" git config user.email "ci-bot@example.com" git add . - git commit -m "Deploy Allure report [skip ci]" || echo "Nothing to commit" - git push origin ci-allure-reports + git commit -m "Deploy Allure report" || echo "Nothing to commit" + git push origin main \ No newline at end of file