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 @@ -76,17 +76,16 @@ jobs:
7676 name : Deploy to Cloudflare Pages
7777 steps :
7878 - name : Checkout
79- uses : actions/checkout@v3
79+ uses : actions/checkout@v4
8080 # Run your project's build step
8181 # - name: Build
8282 # run: npm install && npm run build
83- - name : Publish
84- uses : cloudflare/pages -action@v1
83+ - name : Deploy
84+ uses : cloudflare/wrangler -action@v3
8585 with :
8686 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
8787 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
88- projectName : YOUR_PROJECT_NAME # e.g. 'my-project'
89- directory : YOUR_DIRECTORY_OF_STATIC_ASSETS # e.g. 'dist'
88+ command : pages deploy YOUR_DIRECTORY_OF_STATIC_ASSETS --project-name=YOUR_PROJECT_NAME
9089 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
9190` ` `
9291
You can’t perform that action at this time.
0 commit comments