Course · Build apps with AI · Session 5

Build the pipeline:
from merge to deployment

Prepare a repeatable publishing process with GitHub Actions and clasp. Start with a manual run and check the same app URL before enabling automation.

Format
Online, at your own pace
Estimated time
About 3 hours, over two or more sittings. It is the most demanding session.
Essential
Reviewed plan, verified deployment and planned recovery
If it fails
Read the log and debug with the agent
Automate a recipe you have checked. A merge can trigger a workflow, but publishing requires permissions, correct code, a version and the intended deployment. A green job still needs to be checked against the app.

↩From session 4: you can work with branches, pull requests and AI-assisted review. Publishing was still manual (copying into Apps Script). Today you prepare a repeatable alternative while keeping a way to recover the app.

At your pace, using a practice project. AI can help prepare and explain files; do not automatically delegate permissions, secrets or publishing to it. If Google access is unavailable, leave the external test pending and ask for help.
Step 0 · Which agent will you use?

Choose an authorised tool. Ask for a plan first and review the files; credentials and deployment activation are handled outside the chat.

Today’s path
Progress: 0/7

Record the change, tests and pending work in the S4 and S5 tracking worksheet.

Before you finish…

Review what you have prepared and tick only what you have checked. If Google access is unavailable, record the pending test:

Remember: automation does not remove review. It makes the process repeatable, with checks and a way to recover if it fails.
In session 6 (online and open-ended): enter the building cycle. With context, an agent, branches, pull requests, review and deployment, you have a method to keep building your own apps.

Check your understanding

This is for you, not an exam or a grade. Think through your answers, then compare them below.

  1. What is the difference between push, version and deployment?
  2. Does a green workflow guarantee that the app works?
  3. How do you return to the previous published version?
See the answers ▾

1. Push uploads code; a version fixes a snapshot; updating the deployment changes the version served at the same URL.

2. No. Check the commit, completed stage and same /exec using the planned tests and access.

3. Disable or stop automation, select the previous version of the same deployment and test the app. Also fix the repo; data recovery is separate.