Skip to content

deploy

deploy #2

Workflow file for this run

name: deploy
on:
workflow_dispatch:
jobs:
deploy:
name: deploy application
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout/tree/v4/
- name: Checkout spooky db code
uses: actions/checkout@v4
# https://github.com/actions/setup-node/tree/main
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
cache: npm
node-version: 20.x
# https://github.com/actions/checkout/tree/v4/
- name: Checkout spooky db code
uses: actions/checkout@v4
with:
path: gh-pages
ref: gh-pages
# - name: Installation
# working-directory: spookydb
# run: |
# npm install
# npm install bower
# npm install grunt-cli
# npx bower install
# - name: Building
# working-directory: spookydb
# run: |
# grunt build
- name: Deploying
working-directory: gh-pages
run: |
git log
- name: Uploading
uses: actions/upload-artifact@v4
with:
name: spookydb-dist
path: |
spookydb/dist