Skip to content

Commit b108db4

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 41453a8 + 768ea9d commit b108db4

File tree

2 files changed

+3537
-4
lines changed

2 files changed

+3537
-4
lines changed

.github/workflows/11ty.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,37 @@ jobs:
99
build_deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@master
12+
# - uses: actions/checkout@master
13+
# with:
14+
# ref: main
15+
- uses: actions/checkout@v3
16+
- name: Setup Node
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 18
20+
- name: Install dependencies & build
21+
run: |
22+
npm ci
23+
24+
- name: Persist npm cache
25+
uses: actions/cache@v3
26+
with:
27+
path: ~/.npm
28+
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
29+
30+
- name: Persist Eleventy .cache
31+
uses: actions/cache@v3
1332
with:
14-
ref: main
15-
# - name: Build
33+
path: ./.cache
34+
key: ${{ runner.os }}-eleventy-fetch-cache
35+
36+
#- run: npm run build
37+
#- name: Build
1638
# uses: TartanLlama/actions-eleventy@master
1739
# with:
1840
# install_dependencies: true
1941
- name: Deploy
2042
uses: peaceiris/actions-gh-pages@v3
2143
with:
2244
publish_dir: dist
23-
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)