28 lines
426 B
YAML
28 lines
426 B
YAML
name: Build Portfolio
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Node Version
|
|
run: |
|
|
node --version
|
|
npm --version
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
|
|
- name: Build Astro
|
|
run: npm run build
|
|
|
|
- name: List Dist
|
|
run: ls -la dist |