Skip to content

Commit

Permalink
Merge pull request #2052 from dxc-technology/Mil4n0r/fix_publish_work…
Browse files Browse the repository at this point in the history
…flows

Fix `publish-website` and `publish-next` workflows
  • Loading branch information
Jialecl authored Jul 25, 2024
2 parents c9e4800 + 4197a8e commit 5724b4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build library and website
env:
SITE_VERSION: next
- name: Build library
run: npm run build

- name: Build website
run: cd apps/website && SITE_VERSION=next npm run build

- name: Test library
run: npm run test
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build library and website
env:
SITE_VERSION: next
- name: Build library
run: npm run build

- name: Build website
run: cd apps/website && SITE_VERSION=next npm run build

- name: Move website to S3
run: |
Expand Down

0 comments on commit 5724b4c

Please sign in to comment.