Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-Herve committed Sep 5, 2023
1 parent 3ea4e9c commit ad3e8c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/optic_pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: optic
on:
pull_request:
push:

jobs:
diff-all:
Expand All @@ -10,7 +11,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Optic
run: npm install --location global @useoptic/optic@0.49.7-2
run: npm install --location global @useoptic/optic@0.49.7-3

- name: Run Optic
run: OPTIC_ENV=staging OPTIC_TOKEN="oidMDU4MmI1YzQtNTQwMS00YjIxLWI2Y2ItMDFmNGU0ODlkYWI3.ZBWfGe1k1noEvGGcKTtJG.-_KL_7gZsqLqfetE7iLm4" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} optic run --base "gitbranch:$GITHUB_BASE_REF" --comment
run: OPTIC_ENV=staging OPTIC_TOKEN="oidMDU4MmI1YzQtNTQwMS00YjIxLWI2Y2ItMDFmNGU0ODlkYWI3.ZBWfGe1k1noEvGGcKTtJG.-_KL_7gZsqLqfetE7iLm4" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} optic run

0 comments on commit ad3e8c3

Please sign in to comment.