diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc532d18..363426c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,6 +6,7 @@ on: - 'preface/**' - 'SUMMARY.md' - 'README.md' + workflow-dispatch: jobs: deploy: name: Deploy @@ -14,7 +15,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Setup Legacy Node.js - uses: actions/setup-node + uses: actions/setup-node@v4 with: node-version: 10 - name: Build GitBook @@ -23,7 +24,7 @@ jobs: gitbook install . gitbook build . - name: Setup Modern Node.js - uses: actions/setup-node + uses: actions/setup-node@v4 with: node-version: current - name: Get Wrangler