Skip to content

Commit 8e6a3cc

Browse files
authored
Including a small change in README to test GHActions (#2)
* Including test to GH Actions
1 parent edeeb6f commit 8e6a3cc

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/docker-image.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Docker Image CI
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ main ]
88

99
jobs:
1010

@@ -13,6 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v2
17+
- name: Install dependencies
18+
run: |
19+
apt-get update && apt-get install -y python3-pip
20+
pip3 install cookiecutter
21+
- name: Generate project files with cookiecutter
22+
run: cookiecutter --no-input .
1723
- name: Build the Docker image
18-
run: docker build . --file Dockerfile --tag test-image:$(date +%s)
24+
run: cd python-project-example && docker build . --file Dockerfile --tag my-image-name:$(date +%s)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<br />
2121
<div align="center">
2222

23-
<h1 align="center"> Cookiecutter Python Project Template</h3>
23+
<h1 align="center"> Python Project Template</h3>
2424

2525
<p align="center">
2626
Cookiecutter for Python template with some awesome tools to quickstart any Python project.

0 commit comments

Comments
 (0)