mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-12-25 17:18:15 +03:00
6bdeadcc3e
Change-Id: I5850572bf604edd91b8a6f4e7b34ebf788e5c65b
29 lines
657 B
YAML
29 lines
657 B
YAML
name: Build and Deploy Edge version to GH Pages
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 100
|
|
fetch-tags: true
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
- name: Install and Build 🔧
|
|
run: |
|
|
yarn install --immutable
|
|
yarn build
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@v4.5.0
|
|
with:
|
|
branch: gh-pages
|
|
folder: build
|