Skip to content

Commit

Permalink
add snapit command (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-drexler authored Nov 19, 2024
1 parent 5bc58a4 commit c917461
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/snapit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Snapit

on:
issue_comment:
types:
- created

jobs:
snapit:
name: Snapit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}

- uses: ./.github/workflows/actions/prepare

- name: Create snapshot
uses: Shopify/snapit@main
env:
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
build_script: pnpm build
comment_command: /snapit

0 comments on commit c917461

Please sign in to comment.