mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-09 16:24:51 +00:00
GitHub Pages Deploy (#189)
* 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>
This commit is contained in:
parent
c4a68ff1d5
commit
3fb33facc5
1 changed files with 26 additions and 0 deletions
26
.github/workflows/edge_ghpage.yml
vendored
Normal file
26
.github/workflows/edge_ghpage.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
Loading…
Reference in a new issue