File tree Expand file tree Collapse file tree 2 files changed +3537
-4
lines changed Expand file tree Collapse file tree 2 files changed +3537
-4
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments