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