Skip to content

Commit

Permalink
Update capture.yml and delete update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxRohowsky committed Mar 9, 2024
1 parent f2d0288 commit c42bc3b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1,858 deletions.
55 changes: 8 additions & 47 deletions .github/capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,11 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache node_modules
id: cache-node_modules
uses: actions/[email protected]
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Install Dep
# if: steps.cache-node_modules.outputs.cache-hit != 'true'
uses: ianwalter/[email protected]
with:
args: yarn

- name: Capture Screenshots
uses: ianwalter/[email protected]
with:
args: yarn capture

- name: Save screenshots
uses: EndBug/add-and-commit@v4
with:
author_name: Bot
author_email: [email protected]
message: "Save screenshots"
add: "*.jpeg"

- name: Update data.json
uses: EndBug/add-and-commit@v4
with:
author_name: Bot
author_email: [email protected]
message: "Update data.json"
add: "data.json"
screenshot:
- name: Screenshot Website
uses: swinton/[email protected]
with:
source: https://github.com/swinton/screenshot-website
destination: screenshot.png
full-page: true

59 changes: 0 additions & 59 deletions .github/update.yml

This file was deleted.

Loading

0 comments on commit c42bc3b

Please sign in to comment.