Skip to content

Migrate web components to UI primitives #5

Migrate web components to UI primitives

Migrate web components to UI primitives #5

Workflow file for this run

name: Deploy MyBlog Site
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: myblog-site-deploy
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install root dependencies
run: npm ci
- name: Install web dependencies
run: npm ci
working-directory: apps/web
- name: Install SSH key
uses: webfactory/ssh-agent@v0.9.1
with:
ssh-private-key: ${{ secrets.MYBLOG_DEPLOY_SSH_KEY }}
- name: Trust deploy host
run: |
mkdir -p ~/.ssh
ssh-keyscan -H 124.220.233.126 >> ~/.ssh/known_hosts
- name: Verify workspace and repository governance
run: |
npm run check:workspace
npm run check:governance
- name: Deploy static site
run: npm run deploy:site