# This workflow runs on target, so there is no need to worry about secrets name: Website Preview Deploy on: workflow_run: workflows: ['Website Preview'] types: [completed] jobs: # Build successfully, start deployment on-success: name: Build successfully runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Download pr number uses: dawidd6/action-download-artifact@v2 with: workflow: ${{ github.event.workflow_run.workflow_id }} name: pr - name: Output pr number id: pr run: echo "::set-output name=id::$(