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

Automatic cloud deploy #562

Merged
merged 6 commits into from
Jan 19, 2024
Merged

Automatic cloud deploy #562

merged 6 commits into from
Jan 19, 2024

Conversation

mythmon
Copy link
Member

@mythmon mythmon commented Jan 18, 2024

  • Add --message flag for deploy
  • set up automatic Observable Cloud deploy

This won't include the examples in the deploy. The Cloudflare deployed version manually manipulates the dist directory after running build, but we don't have any mechanism to do that in the observable deploy command. I'm not sure how we should fix that. I also don't especially want to do it in this PR, since the primary goal for this PR is to get automatic deploys working.

@mythmon mythmon requested a review from mbostock January 18, 2024 18:53
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is checked in so that CI and other developers knows they are deploying to the correct project and not overwriting a surprise project.

{name: "Mutables", path: "/javascript/mutables"},
{name: "Mutables", path: "/javascript/mutables"}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prettier did this. I can revert it if you want, but I'm inclined to keep it formatted.

@mythmon
Copy link
Member Author

mythmon commented Jan 18, 2024

Also, if this goes wrong, we can only tell on main. How do you feel about me just pushing new commits to main until it works, and getting them reviewed after the fact?

src/deploy.ts Outdated Show resolved Hide resolved
mythmon and others added 2 commits January 19, 2024 09:40
@mythmon mythmon enabled auto-merge (squash) January 19, 2024 17:41
@mythmon mythmon merged commit c38daf2 into main Jan 19, 2024
2 checks passed
@mythmon mythmon deleted the mythmon/240118/cloud-deploy branch January 19, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants