From b3fa816d3e4714438a864ab6ea898c3605a1d426 Mon Sep 17 00:00:00 2001 From: Natalie Moore Date: Wed, 21 Jun 2023 17:06:11 -0500 Subject: [PATCH] add deploy workflow --- .github/workflows/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..96acaaa --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: Deploy to GH Pages + +on: + push: + branches: + - master + +permissions: + contents: write + +jobs: + gh-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@master + - name: Setup + uses: actions/setup-node@master + - name: Install deps + run: npm install + - name: Build + run: npm run build + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build \ No newline at end of file