xcatliu / pagic

A static site generator powered by Deno + React
https://pagic.org
MIT License
1.64k stars 104 forks source link

[github ci] error: error sending request for url (https://cdn.pagic.org/react@16.13.1/esnext/react.development.js) #93

Closed Yofun closed 2 years ago

Yofun commented 2 years ago

Describe the bug 执行.github/workflows/ci.yml时报错,报错如图所示。

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Context ci.yml配置

name: gh-pages

on:
  push:
    branches:
      - pagic

jobs:
  build-and-deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2

      - name: Setup deno
        uses: denolib/setup-deno@v2
        with:
          deno-version: v1.13.2

      - name: Build gh-pages
        run: |
          deno --version
          deno install --unstable --allow-read --allow-write --allow-net --allow-run --name=pagic https://deno.land/x/pagic@v1.4.0/mod.ts
          pagic build

      - name: Deploy gh-pages
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./dist
          # cname: ts.xcatliu.com

image

xcatliu commented 2 years ago

已恢复