Skip to content

deploy

deploy #13

Workflow file for this run

name: deploy
on:
workflow_dispatch:
jobs:
update:
name: update blueprint information
uses: FAForever/spooky-db/.github/workflows/generate.yaml@feature/deploy-workflow-02
with:
update: true
deploy:
needs: [update]
name: deploy application
runs-on: ubuntu-latest
steps:
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
# 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