mirror of
https://github.com/Awesome-Technologies/synapse-admin.git
synced 2024-10-31 06:55:15 +03:00
3fb33facc5
* Create edge_ghpage.yml Added Build and Deploy Edge version to GH Pages * Update edge_ghpage.yml Added missing node setup * Update edge_ghpage.yml Restrict building of GH Pages to main / master branch & workflow dispatch * Update .github/workflows/edge_ghpage.yml Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> * Update .github/workflows/edge_ghpage.yml Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> * Update .github/workflows/edge_ghpage.yml Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> * Update .github/workflows/edge_ghpage.yml Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
26 lines
580 B
YAML
26 lines
580 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@v2.3.1
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "14"
|
|
- name: Install and Build 🔧
|
|
run: |
|
|
yarn install
|
|
yarn build
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@4.1.5
|
|
with:
|
|
branch: gh-pages
|
|
folder: build
|