Skip to content

reverted last commit /workflows/cd #3

reverted last commit /workflows/cd

reverted last commit /workflows/cd #3

Workflow file for this run

name: web-scraper-cd
on:
pull_request:
types: [closed]
branches:
- master
jobs:
cd:
if: |
github.event.pull_request.merged &&
endsWith(github.event.pull_request.title, '/workflows/cd') &&
github.event.pull_request.user.login != 'github-actions'
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: npx polywrap build
- name: Deploy
run: npx polywrap deploy
env:
POLYWRAP_WRAPSCAN_AUTH_HEADER_PROD: ${{secrets.POLYWRAP_WRAPSCAN_AUTH_HEADER_PROD}}
- name: PR New URI
uses: peter-evans/create-pull-request@v3
with:
branch: cd-pr-${{github.event.number}}
commit-message: "chore: deploy wrap"
title: "cd-pr-${{github.event.number}}"
body: "Triggered by: https://github.com/${{github.repository}}/pull/${{github.event.number}}"