Added build step
Some checks failed
Deploy / deploy (push) Failing after 14s
Deploy / build (push) Failing after 1m12s

This commit is contained in:
Valentin Popov 2024-09-11 19:22:49 +00:00
parent 396f3dcc30
commit 492d4965c8
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401

View File

@ -2,8 +2,25 @@ name: Deploy
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
build_and_deploy: build:
runs-on: self-hosted container: gitea/runner-images:ubuntu-latest
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: website
path: dist/
deploy:
runs-on: self-hosted
steps:
- uses: actions/download-artifact@v4
with:
name: website
- run: echo "Deploying to production" - run: echo "Deploying to production"