diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..e78c61b --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,28 @@ +on: + push: + branches: + - master +jobs: + test: + runs-on: docker + container: + image: docker.io/library/node:24-alpine + steps: + - name: Install Git + run: apk add --no-cache git + + - name: Checkout code + uses: actions/checkout@v4 + with: + github-server-url: 'https://teasanctuary.ru/git' + + - name: Install dependencies + run: npm i --include=dev + + - name: Build frontend + run: npm run build + + - uses: actions/upload-artifact@v3 + with: + name: website + path: build/ \ No newline at end of file