From 81f3992e8211c33117da59179edb355bca9c6325 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 29 Oct 2019 00:50:55 +0900 Subject: [PATCH] Update workflow --- .github/workflows/push.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3eaeb28..73760ee 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -7,10 +7,15 @@ jobs: dockerHubDescription: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Docker Hub Description - uses: ./ - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - DOCKERHUB_REPOSITORY: peterevans/dockerhub-description + - uses: actions/checkout@v1 + - name: Copy README.md to TEST.md + run: | + mkdir -p some/path + cp README.md some/path/TEST.md + - name: Docker Hub Description + uses: ./ + env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} + DOCKERHUB_REPOSITORY: peterevans/dockerhub-description + README_FILEPATH: ./some/path/TEST.md