From 3bc9fcdb2f486babc31c845b638ae4c9567c8ec0 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Fri, 22 Jul 2022 15:10:01 -0400 Subject: the workflow should now depend on `npm gh-pages` through the new `package.json` script `deploy`. --- .github/workflows/deploy.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to '.github/workflows/deploy.yml') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 44d0b9e..fccca20 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,26 +2,22 @@ name: Deploy to GitHub Pages on: push: - branches: [ master ] + branches: [master] jobs: - build: + build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout 🛎️ + - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: '14' - - - name: Install and Build + - 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: dist \ No newline at end of file + npm run deploy + + # - name: Deploy to GitHub Pages + # uses: JamesIves/github-pages-deploy-action@v4 + # with: + # branch: gh-pages + # folder: dist -- cgit v1.2.3