File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,12 @@ jobs:
34
34
- run : ls -R
35
35
- name : Extract pull request number
36
36
run : |
37
- PR_NUMBER=$(cat build/dist/bin/adev/build/browser/ __metadata__pull_number.txt)
37
+ PR_NUMBER=$(cat __metadata__pull_number.txt)
38
38
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
39
- working-directory : build/dist/bin/adev/build/browser
40
39
- name : Extract commit hash
41
40
run : |
42
- COMMIT_HASH=$(cat build/dist/bin/adev/build/browser/ __metadata__commit_hash.txt)
41
+ COMMIT_HASH=$(cat __metadata__commit_hash.txt)
43
42
echo "COMMIT_HASH=$COMMIT_HASH" >> $GITHUB_ENV
44
- working-directory : build/dist/bin/adev/build/browser
45
43
- run : echo $PR_NUMBER $COMMIT_HASH
46
44
- name : Deploy to cloudflare pages
47
45
run : npx wrangler publish ./ --project-name $CLOUDFLARE_PAGES_PROJECT --branch pr-$PR_NUMBER --commit-hash $COMMIT_HASH
You can’t perform that action at this time.
0 commit comments