diff --git a/tasks/009-deploying-to-github-pages.md b/tasks/009-deploying-to-github-pages.md index 021f3b5..cea4b26 100644 --- a/tasks/009-deploying-to-github-pages.md +++ b/tasks/009-deploying-to-github-pages.md @@ -362,6 +362,7 @@ Your task is to create a deployment workflow for this workshop! 1. Create a new workflow file `.github/workflows/deploy.yml` 2. The workflow should: + - Trigger on pushes to the `main` branch - Build the site using `npm run build` - Deploy the `dist/` directory to GitHub Pages @@ -370,6 +371,7 @@ Your task is to create a deployment workflow for this workshop! - Use the `github-pages` environment for the deploy job 3. Before running the workflow: + - Configure GitHub Pages in repository settings (Settings → Pages → Source: "GitHub Actions") 4. After the workflow runs: @@ -551,3 +553,12 @@ Your workshop is now live and automatically updates with every change! 🎉 - [Workflow Permissions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions) [Next Lesson: Lesson 10 - Matrices](010-matrices.md) + +