Skip to content

Commit

Permalink
fix: git-push.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seung365 committed Dec 5, 2024
1 parent 0034a8e commit b8df88f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/git-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b8df88f

Please sign in to comment.