From 4d7999d73a1f6649f27a30737f3121b7a5de6d83 Mon Sep 17 00:00:00 2001 From: Guilherme Epifanio Date: Sun, 23 Aug 2020 18:36:54 +1000 Subject: [PATCH 1/2] gepifanio/test-actions-g2 --- gepifanio/c05-actions02/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gepifanio/c05-actions02/Dockerfile b/gepifanio/c05-actions02/Dockerfile index be543b6..982e43a 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 actions exercise" > /usr/local/apache2/htdocs/index.html \ No newline at end of file From fc5bd24209277dce4e53ffa61cd23a3932e31e8d Mon Sep 17 00:00:00 2001 From: Guilherme Epifanio Date: Sun, 23 Aug 2020 18:48:06 +1000 Subject: [PATCH 2/2] test action --- .github/workflows/gepifanio.yml | 9 --------- gepifanio/c05-actions02/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) 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 982e43a..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 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