From ff6df201979170afeb02a8c5557598d247d41849 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Fri, 14 Jun 2024 10:36:38 +0100 Subject: [PATCH] restore workflow --- .github/workflows/gh-pages-deploy.yml | 60 +++++++++++++-------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index b9fc3055..697cf1db 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -1,30 +1,30 @@ -# name: gh-pages-deploy -# -# on: -# push: -# branches: -# - main -# -# jobs: -# build-and-deploy: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout -# uses: actions/checkout@v2.3.1 -# with: -# persist-credentials: false -# - uses: actions/setup-node@v2 -# with: -# node-version: '12' # TODO IDK what version nighttab is built with normally. -# cache: 'npm' -# - run: | -# npm install -# npm run lint -# npm test -# npm run build -# -# - name: Deploy -# uses: JamesIves/github-pages-deploy-action@4.1.3 -# with: -# branch: gh-pages -# folder: dist/web +name: gh-pages-deploy + +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + with: + persist-credentials: false + - uses: actions/setup-node@v2 + with: + node-version: '12' + cache: 'npm' + - run: | + npm install + npm run lint + npm test + npm run build + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.3 + with: + branch: gh-pages + folder: dist/web