Skip to content

Capturing visual reference πŸ‘“ #5

Capturing visual reference πŸ‘“

Capturing visual reference πŸ‘“ #5

Workflow file for this run

name: Capture Theme Changes
run-name: Capturing visual reference πŸ‘“
on: [push]
permissions:
contents: write
jobs:
Capture-Reference:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Execute backstop reference
run: |
docker compose run backstop reference --config=/config.js
- name: Commit results
run: |
if ! git diff-index --quiet HEAD; then
git config --global user.name '${{ github.actor }}'
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
git commit -am "Automated artifact build by Github Actions"
git push
fi