Skip to content

Commit

Permalink
Include standalone.html in deployed website
Browse files Browse the repository at this point in the history
In the future we will link to this from the website
  • Loading branch information
GarboMuffin committed Feb 29, 2024
1 parent ea22e9b commit 6221a90
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,23 @@ jobs:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
NODE_ENV: production
ENABLE_SERVICE_WORKER: 1
- name: Test
run: npm test
- name: Build website
run: |
mkdir -p web
npm run build-prod
cp -r dist/* web
env:
ENABLE_SERVICE_WORKER: "1"
- name: Build standalone
run: |
npm run build-standalone-prod
cp dist/standalone.html web
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist/
path: ./web/

deploy:
environment:
Expand Down

0 comments on commit 6221a90

Please sign in to comment.