Skip to content

Commit

Permalink
Merge pull request #106 from undp/staging
Browse files Browse the repository at this point in the history
Digital Sub pillar fix
  • Loading branch information
hullera authored Dec 26, 2024
2 parents 8bdcbc2 + 6661a79 commit 293e7a4
Show file tree
Hide file tree
Showing 24 changed files with 5,111 additions and 4,903 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Node.js CI

on:
push:
branches:
- dev
- staging

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: ./ui/yarn.lock

- name: Install Dependencies
run: yarn install --frozen-lockfile
working-directory: ./ui

- name: Build Project
run: yarn build
working-directory: ./ui

- name: Export Project
run: yarn export
working-directory: ./ui

- name: Create .nojekyll File
run: touch ./out/.nojekyll
working-directory: ./ui

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./ui/out
Loading

0 comments on commit 293e7a4

Please sign in to comment.