diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index 67d4947..6e441c2 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -6,11 +6,11 @@ on: # this specific branch (a.k.a. book chapter). push: branches: - - master + - root-chapter-07-part0 pull_request: types: [ opened, synchronize, reopened ] branches: - - master + - root-chapter-07-part0 env: CARGO_TERM_COLOR: always diff --git a/README.md b/README.md index a622276..ce9bb32 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Zero To Production / Code +# Zero To Production / Code (Chapter 7 - Part 0)
@@ -6,18 +6,7 @@ This repository serves as supplementary material for [the book](https://zero2prod.com/): it hosts snapshots of the codebase of our email newsletter project at end of each chapter. -## Chapter snapshots - -The `master` branch (where you are right now!) shows the project at the end of the last published chapter _(Chapter 6 Part 1, right now)_. - -You can browse the project at end of previous chapters by switching to their dedicated branches: - -- [Chapter 3, Part 0](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-03-part0) -- [Chapter 3, Part 1](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-03-part1) -- [Chapter 4](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-04) -- [Chapter 5](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-05) -- [Chapter 6, Part 0](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-06) -- [Chapter 6, Part 1](https://github.com/LukeMathWalker/zero-to-production/tree/root-chapter-06-part1) +**This branch is a snapshot of the project at the end of Chapter 7 - Part 0.** ## Pre-requisite @@ -40,7 +29,7 @@ Using `cargo`: cargo build ``` -## How to test +## How to test Using `cargo`: diff --git a/spec.yaml b/spec.yaml index 04561f7..a982ee4 100644 --- a/spec.yaml +++ b/spec.yaml @@ -9,7 +9,7 @@ services: dockerfile_path: Dockerfile source_dir: . github: - branch: master + branch: root-chapter-07-part0 deploy_on_push: true repo: LukeMathWalker/zero-to-production # Active probe used by DigitalOcean's to ensure our application is healthy