File tree Expand file tree Collapse file tree 2 files changed +7
-139
lines changed Expand file tree Collapse file tree 2 files changed +7
-139
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,10 @@ name: Deploy Next.js site to Pages
22
33on :
44 push :
5- branches : ["main"]
5+ # branches: ["main"]
66 paths :
7- - ' src/**'
8- - ' public/**'
9- - ' package.json'
10- - ' package-lock.json'
11- - ' next.config.ts'
12- - ' tailwind.config.ts'
13- - ' tsconfig.json'
14- - ' postcss.config.mjs'
15- - ' eslint.config.mjs'
7+ - ' url-memo-app/**'
8+ - ' .github/workflows/deploy.yml'
169 workflow_dispatch :
1710
1811permissions :
@@ -36,19 +29,22 @@ jobs:
3629 with :
3730 node-version : ' 20'
3831 cache : ' npm'
32+ cache-dependency-path : ' url-memo-app/package-lock.json'
3933
4034 - name : Install dependencies
4135 run : npm ci
36+ working-directory : url-memo-app
4237
4338 - name : Build Next.js site
4439 run : npm run build
40+ working-directory : url-memo-app
4541 env :
4642 NODE_ENV : production
4743
4844 - name : Upload artifact
4945 uses : actions/upload-pages-artifact@v3
5046 with :
51- path : ./out
47+ path : ./url-memo-app/ out
5248
5349 deploy :
5450 environment :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments