From cdee2320070f3021360a39ed9bf2737d042419b2 Mon Sep 17 00:00:00 2001 From: Alexander Repeta <alexander.repeta@gmail.com> Date: Tue, 23 Mar 2021 13:56:56 +0200 Subject: [PATCH] Create gh-pages.yml --- .github/workflows/gh-pages.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..7c9b9ef --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,23 @@ +name: Build and deploy to GitHub Pages + +on: + push: + branches: [ main ] + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout ðŸ›Žï¸ + uses: actions/checkout@v2.3.1 + + - name: Install and Build 🔧 + run: | + npm install + npm run dist + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@4.1.0 + with: + branch: gh-pages + folder: dist -- GitLab