Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CF preview builds #135

Merged
merged 38 commits into from
Jun 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2f94178
Add CF publish
Yatekii Jun 23, 2024
9490fa3
Deploy all branches
Yatekii Jun 23, 2024
289f14d
Fix repo name
Yatekii Jun 23, 2024
7862497
Make preview workflow separate and test posting on the PR
Yatekii Jun 23, 2024
6c68eb0
Fix permissions
Yatekii Jun 23, 2024
77ac17d
Fix permissions
Yatekii Jun 23, 2024
400c71d
Post proper message and use correct branch
Yatekii Jun 23, 2024
05261ac
Fix script
Yatekii Jun 23, 2024
646e6bb
Fix script
Yatekii Jun 23, 2024
d7392af
Fix script
Yatekii Jun 23, 2024
e8eebd3
Fix script
Yatekii Jun 23, 2024
f4bbe9f
Fix script
Yatekii Jun 23, 2024
2426b9a
Fix heading in preview comment
Yatekii Jun 23, 2024
0efee79
Only do one build on PR pushes
Yatekii Jun 23, 2024
3d19693
Debug
Yatekii Jun 23, 2024
4e0c543
Debug
Yatekii Jun 23, 2024
6931a42
Debug
Yatekii Jun 23, 2024
ce09472
Debug
Yatekii Jun 23, 2024
46f0ac3
Remove debug statements
Yatekii Jun 23, 2024
7e92639
Use PAT for CF pages
Yatekii Jun 23, 2024
1ec2512
Make deployments show up
Yatekii Jun 23, 2024
a93c275
Check that the PR is from a collaborator or owner or refuse to run th…
Yatekii Jun 23, 2024
f800b19
Check that workflows were not modified
Yatekii Jun 23, 2024
62f23fb
Fetch newest 2 commits
Yatekii Jun 23, 2024
312b90f
Fix bash
Yatekii Jun 23, 2024
c4a6126
Print author association
Yatekii Jun 23, 2024
9413a75
Simplify workflow change rules
Yatekii Jun 23, 2024
9c7a1be
Remove author restriction as it is enforced by GH
Yatekii Jun 23, 2024
928037c
Try fix branch name
Yatekii Jun 23, 2024
5f13b0a
Try fix branch name
Yatekii Jun 23, 2024
09b39a0
Try fix branch name
Yatekii Jun 23, 2024
4147849
Try fix branch name
Yatekii Jun 23, 2024
f70344c
Use wrangler directly
Yatekii Jun 23, 2024
3f74393
Don't use the GH PAT for CF
Yatekii Jun 23, 2024
dac76db
Fix CI
Yatekii Jun 23, 2024
a59d5ca
Fix target dir
Yatekii Jun 23, 2024
137e849
Print correct url
Yatekii Jun 24, 2024
1ca8993
Add note about the special checkout
Yatekii Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix bash
  • Loading branch information
Yatekii committed Jun 23, 2024
commit 312b90f9b420dc9912bb831cde4164b2bc083cc5
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
echo "Testing $file"
if [[ $file == .github/* ]]; then
echo "Workflows were modified";
if [ "${{ github.event.pull_request.author_association }}" != "COLLABORATOR" ]
if [ "${{ github.event.pull_request.author_association }}" != "COLLABORATOR" ]; then
echo "Modifier is not a collaborator";
if [ "${{ github.event.pull_request.author_association }}" != "OWNER" ]
if [ "${{ github.event.pull_request.author_association }}" != "OWNER" ]; then
echo "Modifier is not an owner";
echo "Workflows changed by non-collaborator"
exit 1
Expand Down