Skip to content

Commit

Permalink
Merge pull request #1139 from City-of-Helsinki/UHF-X-external-repository
Browse files Browse the repository at this point in the history
Publish test results in external repository
  • Loading branch information
khalima authored Dec 17, 2024
2 parents cd8b74a + 692138c commit e519e1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,15 @@ jobs:
else
echo "result=✅ Tests passed!" >> $GITHUB_OUTPUT
fi
echo "report_url=You can check the output here: https://city-of-helsinki.github.io/drupal-hdbt/pull/${{ github.event.pull_request.number }}/html_report/" >> $GITHUB_OUTPUT
echo "report_url=You can check the output here: https://city-of-helsinki.github.io/drupal-hdbt-visual-regression/pull/${{ github.event.pull_request.number }}/html_report/" >> $GITHUB_OUTPUT
- name: Deploy to PR preview
uses: peaceiris/actions-gh-pages@v4
if: steps.evaluate-reference-images.outputs.generate-references != 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
personal_token: ${{ secrets.VISUAL_REGRESSION_TEST_DEPLOY_KEY }}
external_repository: City-of-Helsinki/drupal-hdbt-visual-regression
publish_branch: main
publish_dir: ${{ env.THEME_FOLDER }}/backstop/full
destination_dir: pull/${{github.event.number}}

Expand Down

0 comments on commit e519e1b

Please sign in to comment.