Skip to content

Commit e612d27

Browse files
committed
Portfolio 2.0
-permissions fix
1 parent b749742 commit e612d27

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@ jobs:
1919

2020
- name: Install Dependencies
2121
run: |
22-
npm install
22+
npm ci --include=optional
23+
24+
- name: Fix Eleventy Permissions
25+
run: |
26+
chmod +x ./node_modules/.bin/eleventy
2327
2428
- name: Build Site
2529
run: |
26-
npm run build
30+
npx eleventy
2731
2832
- name: Verify Build
2933
run: |
@@ -35,4 +39,4 @@ jobs:
3539
with:
3640
github_token: ${{ secrets.GITHUB_TOKEN }}
3741
publish_dir: ./docs
38-
keep_files: false
42+
keep_files: false

0 commit comments

Comments
 (0)