Create build.yml

This commit is contained in:
Artemy Egorov 2023-06-12 12:39:02 +03:00 committed by GitHub
parent b9d98ff090
commit af689c92fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build
run: |
npm i
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist