From 29fc563863f561cdc707485289c5580b4397a580 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 4 Nov 2021 17:37:25 -0500 Subject: Add continuous deployment --- .github/workflows/deploy.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/deploy.yml (limited to '.github') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..b79fbb6 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,27 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install and Build + run: | + npm ci + npm run build + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.1.5 + with: + branch: gh-pages + folder: public \ No newline at end of file -- cgit v1.2.3