diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index a53ab0d..b0b5500 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -12,6 +12,7 @@ permissions: jobs: bump_version: + if: "!contains(github.event.head_commit.message, '[docs]')" runs-on: ubuntu-latest outputs: version: ${{ steps.extract_version.outputs.version }} @@ -54,6 +55,7 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" build_and_push: + if: "!contains(github.event.head_commit.message, '[docs]')" runs-on: ubuntu-latest needs: bump_version # Wait for the version bump job to finish steps: diff --git a/README.md b/README.md index 1e2d9d1..5b11134 100644 --- a/README.md +++ b/README.md @@ -77,17 +77,15 @@ cd heartbeat-service ### Set Up Virtual Environment ```bash -python3 -m venv venv +python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate +pip install poetry +poetry install ``` -### Install Dependencies +## Configuration -```bash -pip install -r requirements.txt -``` - -## Configuration (Common for both pub/sub) +This is common for both pub/sub. ```bash export HEARTBEAT_MODE=publisher # or subscriber @@ -109,7 +107,7 @@ export REDIS_PORT=6379 export REDIS_DB=0 ``` -## Run the application +## Running the application ```bash python heartbeat.py