update cicd_script
Some checks failed
Hexo Blog CICD / Deploy blog (push) Failing after 27s

This commit is contained in:
yunpeng.zhang 2024-12-19 17:25:18 +08:00
parent 0e8cad57a5
commit 2977ee2d5f

View File

@ -4,7 +4,7 @@ on:
push:
branches:
- main
env:
DEPLOYED_DIR: /opt/1panel/apps/openresty/openresty/www/sites/hexoblog/index
@ -22,10 +22,10 @@ jobs:
uses: actions/checkout@v4
- 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: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '16.18'
- name: Build
run: |