fix: build and deploy

This commit is contained in:
2024-03-31 13:49:03 +03:00
parent 46c520f54e
commit d603fb4a6b

View File

@@ -21,9 +21,13 @@ concurrency:
cancel-in-progress: false
jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
strategy:
matrix:
node-version: [20.x]
@@ -39,16 +43,6 @@ jobs:
- run: npm ci
- run: npm run build --if-present
# Deploy job
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact