From 3fb33facc58aee325c92e835971b7baf4366e5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Fuch=C3=9F?= Date: Mon, 31 Jan 2022 17:38:34 +0100 Subject: [PATCH] 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> --- .github/workflows/edge_ghpage.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/edge_ghpage.yml diff --git a/.github/workflows/edge_ghpage.yml b/.github/workflows/edge_ghpage.yml new file mode 100644 index 0000000..e229523 --- /dev/null +++ b/.github/workflows/edge_ghpage.yml @@ -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