We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2348e5 commit df8a9ccCopy full SHA for df8a9cc
1 file changed
.github/workflows/deploy.yml
@@ -16,7 +16,9 @@ jobs:
16
17
steps:
18
- name: Checkout
19
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
20
+ with:
21
+ ref: ${{ github.event.pull_request.head.sha || github.sha }}
22
23
- name: Setup Ruby
24
uses: ruby/setup-ruby@v1
@@ -29,11 +31,12 @@ jobs:
29
31
JEKYLL_ENV: production
30
32
33
- name: Publish
- uses: cloudflare/pages-action@v1.5.0
34
+ uses: cloudflare/pages-action@v1
35
with:
36
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
37
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
38
projectName: ruby-uy
39
directory: _site
40
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
41
wranglerVersion: '3'
42
+ branch: ${{ github.event.pull_request.head.ref || github.ref_name }}
0 commit comments