We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2140476 commit 71d1401Copy full SHA for 71d1401
.github/workflows/deploy.yml
@@ -7,7 +7,11 @@ on:
7
8
jobs:
9
build-and-deploy:
10
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
11
+ permissions:
12
+ contents: write
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
16
steps:
17
- name: Checkout
@@ -17,6 +21,14 @@ jobs:
21
uses: actions/setup-node@v3
18
22
with:
19
23
node-version: '18'
24
+
25
+ - name: Cache dependencies
26
+ uses: actions/cache@v3
27
+ with:
28
+ path: ~/.npm
29
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
30
+ restore-keys: |
31
+ ${{ runner.os }}-node-
20
32
33
- name: Install dependencies
34
run: npm ci
@@ -28,5 +40,4 @@ jobs:
40
uses: peaceiris/actions-gh-pages@v4
41
42
github_token: ${{ secrets.GITHUB_TOKEN }}
- deploy_key: ${{ secrets.DEPLOY_TOKEN }}
43
publish_dir: ./out
0 commit comments