Skip to content

Commit fd3aea7

Browse files
committed
Use wrangler action to deploy site to pages
1 parent d7d4056 commit fd3aea7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pages-deployment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ jobs:
3939

4040
- name: Publish
4141
if: ${{ github.actor != 'dependabot[bot]' }}
42-
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1.5.0
42+
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
4343
with:
4444
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4545
apiToken: ${{ secrets.CLOUDFLARE_DIRECT_UPLOAD_API_TOKEN }}
46-
directory: "site"
46+
command: pages deploy site --project-name=opensafely-docs
4747
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
48-
projectName: "opensafely-docs"

0 commit comments

Comments
 (0)