Skip to content

Merge pull request #825 from BIDMCDigitalPsychiatry/lamp-js-update #1545

Merge pull request #825 from BIDMCDigitalPsychiatry/lamp-js-update

Merge pull request #825 from BIDMCDigitalPsychiatry/lamp-js-update #1545

Workflow file for this run

name: Build Image
on:
push:
branches: [master]
tags: '*'
jobs:
build_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: jerray/[email protected]
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
repository: 'bidmcdigitalpsychiatry/lamp-dashboard'
auto_tag: true
build_pages:
if: github.event_name == 'tags'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14.x
- run: |
npm install
npm run build
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build