2022-01-31 16:38:34 +00:00
|
|
|
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 🛎️
|
2023-09-05 06:23:03 +00:00
|
|
|
uses: actions/checkout@v4
|
2024-04-18 19:11:41 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 100
|
|
|
|
fetch-tags: true
|
2024-02-02 14:03:17 +00:00
|
|
|
- uses: actions/setup-node@v4
|
2022-01-31 16:38:34 +00:00
|
|
|
with:
|
2024-04-19 07:36:09 +00:00
|
|
|
node-version: "20"
|
2022-01-31 16:38:34 +00:00
|
|
|
- name: Install and Build 🔧
|
|
|
|
run: |
|
2024-02-07 16:36:36 +00:00
|
|
|
yarn install --immutable
|
2024-04-23 10:28:00 +00:00
|
|
|
yarn build --base=/synapse-admin
|
2022-01-31 16:38:34 +00:00
|
|
|
|
|
|
|
- name: Deploy 🚀
|
2024-04-23 08:50:17 +00:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
2022-01-31 16:38:34 +00:00
|
|
|
with:
|
|
|
|
branch: gh-pages
|
2024-04-23 10:18:38 +00:00
|
|
|
folder: dist
|