From b8df88fa5805b0c8c08ea82c0592019ee7d58182 Mon Sep 17 00:00:00 2001 From: beom Date: Thu, 5 Dec 2024 18:03:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20git-push.yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/git-push.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/git-push.yml b/.github/workflows/git-push.yml index 4e6b54d..55d3ac3 100644 --- a/.github/workflows/git-push.yml +++ b/.github/workflows/git-push.yml @@ -14,20 +14,14 @@ jobs: node-version: '16' - name: Install dependencies run: npm install - - name: Build - run: npm run build - - name: Prepare output directory - run: | - mkdir -p output - cp -r build/* output/ - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.AUTO_KEY }} with: - source-directory: 'output' + source-directory: '.' destination-github-username: 'seung365' destination-repository-name: 'alphamail-frontend' - user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL}} - commit-message: ${{ github.event.commits[0].message }} + user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }} + commit-message: 'Syncing main branch' target-branch: main