diff --git a/.github/workflows/website-deploy-test.yml b/.github/workflows/website-deploy-test.yml index 3e31c11..2b8c0d5 100644 --- a/.github/workflows/website-deploy-test.yml +++ b/.github/workflows/website-deploy-test.yml @@ -5,13 +5,14 @@ on: branches: - master +defaults: + run: + working-directory: ./website + jobs: test-deploy: name: Test deployment runs-on: ubuntu-latest - defaults: - run: - working-directory: ./website steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 85d1c6f..dd790f9 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -7,13 +7,14 @@ on: # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on +defaults: + run: + working-directory: ./website + jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest - defaults: - run: - working-directory: ./website steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3