Skip to content

Commit

Permalink
restore workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed Jun 14, 2024
1 parent 850bb49 commit ff6df20
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
# 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/[email protected]
# 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/[email protected]
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/[email protected]
with:
branch: gh-pages
folder: dist/web

0 comments on commit ff6df20

Please sign in to comment.