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