diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2a32bdc..e88b120 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,6 +2,11 @@ name: Build Image on: push: + paths: + - '**.py' + - '**.txt' + - '**.yaml' + - Dockerfile branches: - "main" pull_request: diff --git a/.github/workflows/lint-python.yaml b/.github/workflows/lint-python.yaml index d9a08d7..ab2a385 100644 --- a/.github/workflows/lint-python.yaml +++ b/.github/workflows/lint-python.yaml @@ -7,11 +7,11 @@ on: - "main" paths: - '**.py' - - src/requirements.txt + - requirements.txt pull_request: paths: - '**.py' - - src/requirements.txt + - requirements.txt # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/README.md b/README.md index dbf8bcf..5fd633b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ realized that I want to play codename pictures instead. So I've decided to creat ## Docker ```commandline -docker run -p 5000:5000 -e GAME_MODES="pictures,classic_de,classic_en,classic_en-undercover" :latest +docker run -p 5000:5000 -e GAME_MODES="pictures,classic_de,classic_en,classic_en-undercover" ghcr.io/schluggi/codenames:latest ``` ## Git