From a9a46c92104d4afebb47f8c56912413e1fcbad6c Mon Sep 17 00:00:00 2001 From: Abdalla Wohoush Date: Wed, 23 Sep 2026 14:20:28 +0300 Subject: [PATCH 1/2] enable CI on PR --- .github/workflows/pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index a29b914..0843864 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -6,6 +6,9 @@ on: paths: - "part11/pokedex/**" - ".github/workflows/pipeline.yml" + pull_request: + branches: [main] + types: [opened, synchronize] jobs: simple_deployment_pipeline: From 240e66e1721573ec6e47e6d677749a9992afbdd1 Mon Sep 17 00:00:00 2001 From: Abdalla Wohoush Date: Wed, 23 Sep 2026 15:09:26 +0300 Subject: [PATCH 2/2] deploy to render on main branch only --- .github/workflows/pipeline.yaml | 5 ++++- README.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 0843864..1283fba 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -5,7 +5,7 @@ on: branches: [main] paths: - "part11/pokedex/**" - - ".github/workflows/pipeline.yml" + - ".github/workflows/pipeline.yaml" pull_request: branches: [main] types: [opened, synchronize] @@ -34,3 +34,6 @@ jobs: run: npx playwright install --with-deps - name: Run Playwright tests run: npm run test:e2e + - name: Trigger deployment + if: ${{ github.event_name == 'push' }} + run: curl ${{ secrets.POKEDEX_RENDER_DEPLOY_HOOK }} diff --git a/README.md b/README.md index b5d8d51..be58334 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ This repository contains my solutions and progress for the **Full Stack Open** c ## Deployed applications - **Notes backend (Part 3):** [fullstackopen-part3-notes-backend-uzes.onrender.com](https://fullstackopen-part3-notes-backend-uzes.onrender.com/). Deployed on Render, redeployed automatically via a GitHub Actions workflow ([`part3-deploy.yaml`](.github/workflows/part3-deploy.yaml)) on push to `main`. +- **Pokedex (Part 11):** [fullstackopen-hhdt.onrender.com](https://fullstackopen-hhdt.onrender.com). Deployed on Render, redeployed automatically via the CI pipeline ([`pipeline.yaml`](.github/workflows/pipeline.yaml)) on push to `main`, after lint, tests, build, and e2e tests pass. ## Certificates