This commit is contained in:
parent
11626fba51
commit
0e8cad57a5
@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DEPLOYED_DIR: /opt/1panel/apps/openresty/openresty/www/sites/hexoblog/index
|
DEPLOYED_DIR: /opt/1panel/apps/openresty/openresty/www/sites/hexoblog/index
|
||||||
|
|
||||||
@ -16,15 +16,16 @@ jobs:
|
|||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: npm config set registry https://registry.npmmirror.com
|
||||||
npm config set registry https://registry.npmmirror.com
|
|
||||||
npx --yes actions/setup-node@v3 --node-version 16.18
|
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16.18'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user