Checked into source control/ synced snippets that deploy to Val #132
quuu
started this conversation in
Feature Request
Replies: 1 comment 2 replies
-
This is a great idea! I suspect the initial version of this will likely be built in "userspace", ie it could be a Github App or Bot that uses the Val Town API to deploy your code to Val Town. I think the hard part of this will be getting your vals to work in all the contexts:
We don't have first class branch support yet. One can simulate branches of a val by making forks and giving them branch names. Alternatively, one could imagine a world where Val Town sends pull requests to your repo to update it on whatever the new changes are, if you wanted Val Town to be more the source of truth, but keep the repo updated. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One thing holding me back from using Val.town for serious endpoints is the fact that I have to leave my editor to go to Val and set things up:
would love to integrate Val into codebases/ source control -- for example I could have a folder: /src/jobs and making
fetch_emails.ts
and then pushing it to git would deploy automatically to Val.And even further, doing something like:
export const cronSchedule = "* * * * 1-5"
would trigger the job on a cron scheduleMaking it so I can work in my own codebase, but still know that I'm able to set up recurring jobs that are checked via source control
Beta Was this translation helpful? Give feedback.
All reactions