Skip to content

Commit

Permalink
gh-actions: fix working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Jan 3, 2025
1 parent bfc8a7f commit 5316c16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
node-version: 18
cache: npm

- name: Change to /website directory
run: cd website

- name: Install dependencies
working-directory: website
run: npm install --frozen-lockfile

- name: Build website
working-directory: website
run: npm run build

- name: Upload Build Artifact
Expand All @@ -47,8 +47,6 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Change to /website directory
run: cd website
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
5 changes: 2 additions & 3 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
node-version: 18
cache: npm

- name: Change to /website directory
run: cd website

- name: Install dependencies
working-directory: website
run: npm install --frozen-lockfile

- name: Test build website
working-directory: website
run: npm run build

0 comments on commit 5316c16

Please sign in to comment.