Skip to content

Commit e08f52e

Browse files
committed
CI: fix website deployment
The deploy-website.yml workflow doesn't build quick-lint-js-wasm. This causes 'yarn build' to fail. Rewrite deploy-website.yml to use the website bundle created by the build-website.yml workflow. This makes deploy-website.yml have no build dependencies.
1 parent 8cfd6e2 commit e08f52e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,13 @@ jobs:
1818
- name: check out
1919
uses: actions/checkout@v1
2020

21-
- name: download demo build
21+
- name: download website
2222
uses: dawidd6/action-download-artifact@v2
2323
with:
2424
commit: ${{ github.event.inputs.build_commit_id }}
25-
name: web-demo-dist-${{ github.event.inputs.build_commit_id }}
26-
path: website/public/demo/dist/
27-
workflow: build-and-test-web-demo.yml
28-
29-
- name: install build dependencies
30-
run: cd website && yarn install --production
31-
- name: build site
32-
run: cd website && yarn build
25+
name: website-${{ github.event.inputs.build_commit_id }}
26+
path: website/www/
27+
workflow: build-website.yml
3328

3429
- name: publish to GitHub Pages
3530
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)