Update .gitea/workflows/test.yml
This commit is contained in:
@@ -68,6 +68,26 @@ jobs:
|
||||
env:
|
||||
CI_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
- name: Create cache-busting redirect page
|
||||
run: |
|
||||
cat <<EOF > ci-reports/allure/main.html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Loading latest report...</title>
|
||||
<script>
|
||||
const v = new Date().getTime();
|
||||
window.location.href = "index.html?v=" + v;
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Loading latest report...</p>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
|
||||
|
||||
- name: Deploy Allure report to GitHub
|
||||
run: |
|
||||
git clone https://x-access-token:${{ secrets.RENDER_GITHUB_TOKEN }}@github.com/Yaspsi/pytest-report-render.git deploy-repo
|
||||
|
||||
Reference in New Issue
Block a user