diff --git a/.github/workflows/gepifanio.yml b/.github/workflows/gepifanio.yml index 9692396..9742fb1 100644 --- a/.github/workflows/gepifanio.yml +++ b/.github/workflows/gepifanio.yml @@ -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 }} diff --git a/gepifanio/c05-actions02/Dockerfile b/gepifanio/c05-actions02/Dockerfile index be543b6..ea28f7d 100644 --- a/gepifanio/c05-actions02/Dockerfile +++ b/gepifanio/c05-actions02/Dockerfile @@ -1,2 +1,2 @@ FROM httpd:2.4.41 -RUN echo "This is my GH actions test exercise" > /usr/local/apache2/htdocs/index.html \ No newline at end of file +RUN echo "This is my GH test actions exercise" > /usr/local/apache2/htdocs/index.html \ No newline at end of file