Skip to content

pull_request [10623530391] #362

pull_request [10623530391]

pull_request [10623530391] #362

Workflow file for this run

# This workflow triggers the release process after code check is completed
#
name: Preview
run-name: ${{ github.event.workflow_run.event }} [${{ github.event.workflow_run.id }}]
# Controls when the action will run.
on:
workflow_run:
workflows: [Checks]
types: [completed]
branches-ignore: [main, next, beta, alpha]
concurrency:
group: ${{ github.workflow }}_${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true
jobs:
visual-test:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: '▶️ actions'
uses: ./.github/workflows/visual-test.yml
secrets:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
publish:
name: '▶️ actions'
# Publish only if not PR is was not opened by dependabot
if: github.actor != 'dependabot[bot]'
uses: ./.github/workflows/publish.yml
secrets:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ID: ${{ secrets.CLOUDFLARE_ID }}