Skip to content

忽略淘宝证书校验 #136

忽略淘宝证书校验

忽略淘宝证书校验 #136

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- hexo
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install Dependencies
run: npm config set strict-ssl false
run: npm i

Check failure on line 21 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/gh-pages.yml (Line: 21, Col: 9): 'run' is already defined
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: master
force_orphan: true