From bed544d2c6be6b44b7bd1423c6a89eba3382f2cc Mon Sep 17 00:00:00 2001 From: BearHumanS Date: Tue, 20 Feb 2024 02:26:05 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20cd=EC=9E=90=EB=8F=99=EB=B0=B0=ED=8F=AC?= =?UTF-8?q?=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20(2=EA=B0=9C=20=EC=9D=B4?= =?UTF-8?q?=EC=83=81=20=EB=A6=AC=ED=8F=AC=EC=A7=80=ED=86=A0=EB=A6=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ab56e31..e94ea2d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,8 +14,7 @@ jobs: run: apk add ruby && gem install mustache - name: creates output run: sh ./build.sh - - name: Pushes to another repository - id: push_directory + - name: Pushes to Team_side_project_pokemon uses: cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.HUN_TOKEN }} @@ -26,5 +25,16 @@ jobs: user-email: ${{ secrets.HUN_EMAIL }} commit-message: ${{ github.event.commits[0].message }} target-branch: main + - name: Pushes to Pokehub + uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.CDM_TOKEN }} + with: + source-directory: 'output' + destination-github-username: Dongmin + destination-repository-name: Pokehub + user-email: ${{ secrets.CDM_EMAIL }} + commit-message: ${{ github.event.commits[0].message }} + target-branch: main - name: Test get variable exported by push-to-another-repository run: echo $DESTINATION_CLONED_DIRECTORY