mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-09 14:58:09 -05:00
github actions build
This commit is contained in:
30
.github/workflows/main.yml
vendored
Normal file
30
.github/workflows/main.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user