Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/gepifanio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,20 @@ jobs:
steps:
- name: Code Checkout
uses: actions/checkout@v2

- name: Has Changed Path
uses: MarceloPrado/has-changed-path@v1.0
id: changed-docker
with:
paths: gepifanio/c05-actions02

- name: Get outputs
if: steps.changed-docker.outputs.changed == 'true'
working-directory: 'gepifanio/c05-actions02'
id: vars
shell: bash
run: make github_variables

- name: build and publish docker image
if: steps.changed-docker.outputs.changed == 'true'
run: make all
working-directory: 'gepifanio/c05-actions02'
env:
GEPIFANIO_DOCKER_ACCESS_TOKEN: ${{ secrets.GEPIFANIO_DOCKER_ACCESS_TOKEN }}

- name: comment image pushed
if: steps.changed-docker.outputs.changed == 'true'
uses: nickatnight/add-pr-comment-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion gepifanio/c05-actions02/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM httpd:2.4.41
RUN echo "This is my GH actions test exercise" > /usr/local/apache2/htdocs/index.html
RUN echo "This is my GH test actions exercise" > /usr/local/apache2/htdocs/index.html