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 #388

Update actions/checkout action to v4

Update actions/checkout action to v4 #388

name: Capture screenshots
on:
pull_request:
branches:
- master
schedule:
- cron: 0 2 * * 1-5
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 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