Skip to content

Commit

Permalink
Fix build action by cding into site directory before running npm comm…
Browse files Browse the repository at this point in the history
…ands.
  • Loading branch information
Benjamin Clark committed Apr 25, 2024
1 parent 8c3da35 commit cd74579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: cd site; npm install

- name: Setup vars 📋
id: vars
run: |
echo identifier=$(git rev-parse --short ${{ github.sha }})-20.x >> $GITHUB_OUTPUT
echo distdir=aria-site/aria$(git rev-parse --short ${{ github.sha }})-20.x-dist >> $GITHUB_OUTPUT
- run: npm run build
- run: cd site; npm run build
env:
BASE_ARIA_URL: ${{ steps.vars.outputs.identifier }}

0 comments on commit cd74579

Please sign in to comment.