github actions build

This commit is contained in:
AtHeartEngineer
2022-05-26 00:02:26 -04:00
parent 7998fafa00
commit 7cec453bc2

30
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: 🔧 & 🚀
on:
push:
branches: [ react ]
pull_request:
branches: [ react ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛒
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages-react
folder: build