mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-09 16:24:51 +00:00
264e0b5ec6
Change-Id: I9e3a9287c288531793aca7f89faa7f1dab4b795a
30 lines
678 B
YAML
30 lines
678 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 --base=/synapse-admin
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
|
with:
|
|
branch: gh-pages
|
|
folder: dist
|