From cc127bd3736f9d4796af544c3453b197e71518a1 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 23 Apr 2024 17:21:09 +0200 Subject: [PATCH] Add GH workflow --- .github/workflows/deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c804383 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [ master ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install and Build + run: | + npm install + npm run build + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@latest + with: + branch: gh-pages + folder: public