Skip to content

Commit

Permalink
feat(tests): added execute deploy in any status (hcengineering#4767)
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Cruz <tcruz@netic.io>
  • Loading branch information
nestoragent authored and tjaoc committed Mar 5, 2024
1 parent 03fed9a commit 1a3e604
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ jobs:
docker logs $(docker ps | grep front | cut -f 1 -d ' ') > logs/front.log
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playwright-results
path: ./tests/sanity/playwright-report/
- name: Get Allure history
uses: actions/checkout@v4
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
continue-on-error: true
with:
ref: gh-pages
Expand All @@ -243,20 +243,20 @@ jobs:
allure_history: allure-history
- name: Upload allure test results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: allure-report
path: ./allure-report/
- name: Deploy report to Github Pages
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
uses: peaceiris/actions-gh-pages@v3
with:
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: allure-history
- name: Upload Logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docker-logs
path: ./tests/sanity/logs
Expand Down

0 comments on commit 1a3e604

Please sign in to comment.