Skip to content

Dispatch screenshots-action workflow #3

Dispatch screenshots-action workflow

Dispatch screenshots-action workflow #3

name: Dispatch screenshots-action workflow
on:
workflow_dispatch:
inputs:
url:
description: 'The website URL (ex: https://www.google.com/)'
required: true
default: ''
jobs:
screenshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install puppeteer-headful
uses: mujo-code/puppeteer-headful@master
env:
CI: 'true'
- name: screenshots-ci-action
uses: flameddd/screenshots-ci-action@dev
with:
url: ${{ github.event.inputs.url }}
devices: iPhone 6,iPhone 6 landscape
waitUntil: networkidle2
- uses: actions/upload-artifact@v2
with:
path: screenshots
name: Download-screenshots