feat: adds github deploy workflow

This commit is contained in:
Artis Blūms 2022-08-06 20:52:08 +03:00
parent 72c02db378
commit 071c9971a7
2 changed files with 30 additions and 0 deletions

29
.github/workflows/deploy.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn
yarn build
- name: Deploy

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
node_modules/ node_modules/
.cache/ .cache/
public public
.idea