mirror of
https://github.com/CIMEngine/map.git
synced 2024-11-22 10:56:21 +03:00
24 lines
428 B
YAML
24 lines
428 B
YAML
|
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
|