File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 3434 - uses : actions/upload-pages-artifact@v3
3535 with :
3636 path : ' build/dokka/html'
37- - uses : cloudflare/pages -action@v1
37+ - uses : cloudflare/wrangler -action@v3
3838 with :
3939 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
4040 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
41- projectName : ${{ vars.CLOUDFLARE_PROJECT_NAME }}
42- directory : build/dokka/html
43- branch : ${{ github.ref_name }}
41+ command : pages deploy "build/dokka/html" --project-name="${{ vars.CLOUDFLARE_PROJECT_NAME }}" --branch="${{ github.ref_name }}"
4442 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3535 - uses : actions/upload-pages-artifact@v3
3636 with :
3737 path : ' build/dokka/html'
38- - uses : cloudflare/pages -action@v1
38+ - uses : cloudflare/wrangler -action@v3
3939 with :
4040 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
4141 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
42- projectName : ${{ vars.CLOUDFLARE_PROJECT_NAME }}
43- directory : build/dokka/html
44- branch : pr-${{ github.event.pull_request.number }}
42+ command : pages deploy "build/dokka/html" --project-name="${{ vars.CLOUDFLARE_PROJECT_NAME }}" --branch="pr-${{ github.event.pull_request.number }}"
4543 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3131 - uses : actions/upload-pages-artifact@v3
3232 with :
3333 path : ' build/dokka/html'
34- - uses : cloudflare/pages -action@v1
34+ - uses : cloudflare/wrangler -action@v3
3535 with :
3636 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
3737 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
38- projectName : ${{ vars.CLOUDFLARE_PROJECT_NAME }}
39- directory : build/dokka/html
38+ command : pages deploy "build/dokka/html" --project-name="${{ vars.CLOUDFLARE_PROJECT_NAME }}"
4039 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
41- wranglerVersion : ' 3'
You can’t perform that action at this time.
0 commit comments