Encore applications are easy to integrate with GitHub for source code hosting. To link your application to GitHub, open Your app, then head to Settings → GitHub and follow the instructions.
For a more detailed guide on linking with GitHub, see the Setup Walkthrough below.
Once you've linked with GitHub, Encore will automatically start building and running tests against your Pull Requests.
Encore will also provision a dedicated Preview Environment for each pull request. This environment works just like a regular development environment, and lets you test your changes before merging.
Learn more in the Environments documentation.
Open your application on app.encore.dev, and click on Settings in the main navigation. Then select GitHub in the settings menu.
First connect your account to GitHub by clicking the Connect Account to GitHub button. This will open GitHub where you can grant access either to all repositories, or only the specific one(s) you want to link with Encore.
When you come back to Encore, click the Link App to GitHub button:
In the popup, select the repository you would like to link your app with:
Click Link and you're done! Encore will now automatically start building and running tests against your Pull Requests, and provision Preview Environments for each Pull Request.