Skip to content

Merge pull request #826 from BIDMCDigitalPsychiatry/sarithapillai8-pa… #1546

Merge pull request #826 from BIDMCDigitalPsychiatry/sarithapillai8-pa…

Merge pull request #826 from BIDMCDigitalPsychiatry/sarithapillai8-pa… #1546

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