This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Build Portfolio
|
name: Deploy Portfolio
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -9,20 +9,21 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /repos:/repos
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Node Version
|
|
||||||
run: |
|
|
||||||
node --version
|
|
||||||
npm --version
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build Astro
|
- name: Build Astro
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: List Dist
|
- name: Verify Mount
|
||||||
run: ls -la dist
|
run: |
|
||||||
|
ls -la /repos
|
||||||
|
ls -la /repos/portfolio
|
||||||
Reference in New Issue
Block a user