Replies: 2 comments
-
on 1. - this is not supported out-of-the-box yet. Currently you will have to run the Publish to Environment after creating a release. It is also not supported to schedule this deployment at this time. Both these things are something we are debating on how we solve this in the best way. on 2. - this repo: https://github.com/businesscentralapps/buildorder shows how we envision this. I have a Common and a Misc project, in which we can have some apps - then there is a W1 project with the W1 version and an DK and IT project with the Danish and Italian version. UseProjectDependencies is true for AL-Go to build apps in the right order. It is also possible to place your source code in seperate folders and then create AL-Go projects, which references the apps you want to build (https://github.com/microsoft/BCApps uses this approach) - this means that the same AL app can be build in different AL-Go projects. On deployments to QA and PROD - current recommendation is to setup CD to QA and deploy manually to PROD. |
Beta Was this translation helpful? Give feedback.
-
If you want to create a schedule for running PublishToEnvironment, what you would need to do currently is to create a new .yaml file in the .github/workflows folder in your repository with the following content: f.ex. .github/workflows/PublishToProd.yaml
This workflow will run every friday evening at 20:00 (8PM) and deploy the Current (which is the latest released bits) to the PROD environment. You need a working GHTOKENWORKFLOW PAT secret for this workflow to work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I’m currently using GitHub AL-Go to manage CICD for Business Central extensions and need assistance with two key areas:
Scheduling a Deployment to Production
How can I schedule a production deployment to trigger automatically once a new release is available?
Handling a Multi-Project Setup
I reviewed this guide but still have questions about managing a setup with:
Specifically, I’m unsure about:
Could you provide guidance on these aspects?
Beta Was this translation helpful? Give feedback.
All reactions