Skip to content

build: edit cd build script wd-168 #2

build: edit cd build script wd-168

build: edit cd build script wd-168 #2

Workflow file for this run

name: Continuous Delivery
on:
push:
branches:
- production
concurrency:
group: cd-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install Dependencies
run: |
npm ci
- name: Code Building
run: |
make build
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
path: build
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2