Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Update actions/checkout action to v4 #390

Update actions/checkout action to v4

Update actions/checkout action to v4 #390

name: Capture screenshots
on:
pull_request:
branches:
- master
schedule:
- cron: 0 2 * * 1-5
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
version: 12
- name: Capture screenshots and commit
env:
GITHUB_API_TOKEN: ${{secrets.GITHUB_API_TOKEN}}
run: |
yarn
yarn build
git remote set-url origin https://x-access-token:[email protected]/mdx-js/showcase.git
git config --global user.email "[email protected]"
git config --global user.name "Johno Bot"
git add .
git commit -m "Captured latest screenshots"
git push