working dir

This commit is contained in:
tidusjar 2022-07-26 20:20:43 +01:00
commit 78259fbf6e

View file

@ -7,13 +7,9 @@ on:
# List of jobs # List of jobs
jobs: jobs:
chromatic-deployment: storybook-build:
# Operating System # Operating System
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/Ombi/ClientApp
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -28,6 +24,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn
with:
workingDir: ./src/Ombi/ClientApp
- name: Publish to Chromatic - name: Publish to Chromatic
if: github.ref != 'refs/heads/master' if: github.ref != 'refs/heads/master'
@ -35,6 +33,7 @@ jobs:
with: with:
projectToken: 7c47e1a1a4bd projectToken: 7c47e1a1a4bd
exitZeroOnChanges: true exitZeroOnChanges: true
workingDir: ./src/Ombi/ClientApp
- name: Publish to Chromatic and auto accept changes - name: Publish to Chromatic and auto accept changes
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
@ -42,3 +41,4 @@ jobs:
with: with:
projectToken: 7c47e1a1a4bd projectToken: 7c47e1a1a4bd
autoAcceptChanges: true # 👈 Option to accept all changes autoAcceptChanges: true # 👈 Option to accept all changes
workingDir: ./src/Ombi/ClientApp