File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/content/docs/pages/how-to Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -72,17 +72,16 @@ jobs:
7272 name : Deploy to Cloudflare Pages
7373 steps :
7474 - name : Checkout
75- uses : actions/checkout@v3
75+ uses : actions/checkout@v4
7676 # Run your project's build step
7777 # - name: Build
7878 # run: npm install && npm run build
79- - name : Publish
80- uses : cloudflare/pages -action@v1
79+ - name : Deploy
80+ uses : cloudflare/wrangler -action@v3
8181 with :
8282 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
8383 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
84- projectName : YOUR_PROJECT_NAME # e.g. 'my-project'
85- directory : YOUR_DIRECTORY_OF_STATIC_ASSETS # e.g. 'dist'
84+ command : pages deploy YOUR_DIRECTORY_OF_STATIC_ASSETS --project-name=YOUR_PROJECT_NAME
8685 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
8786` ` `
8887
You can’t perform that action at this time.
0 commit comments