File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Storefront 1000057909
2+ on : [push]
3+
4+ permissions :
5+ contents : read
6+ deployments : write
7+
8+ jobs :
9+ deploy :
10+ name : Deploy to Oxygen
11+ timeout-minutes : 30
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : " lts/*"
20+ check-latest : true
21+
22+ - name : Cache node modules
23+ id : cache-npm
24+ uses : actions/cache@v4
25+ env :
26+ cache-name : cache-node-modules
27+ with :
28+ path : ~/.npm
29+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
30+ restore-keys : |
31+ ${{ runner.os }}-build-${{ env.cache-name }}-
32+ ${{ runner.os }}-build-
33+ ${{ runner.os }}-
34+
35+ - name : Install dependencies
36+ run : npm ci
37+
38+ - name : Build and Publish to Oxygen
39+ run : npx shopify hydrogen deploy
40+ env :
41+ SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN : ${{ secrets.OXYGEN_DEPLOYMENT_TOKEN_1000057909 }}
You can’t perform that action at this time.
0 commit comments