This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Source Code to Vercel Repo | |
| on: | |
| push: | |
| branches: | |
| - testnet | |
| jobs: | |
| sync-to-vercel: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source repository | |
| uses: actions/checkout@v4 | |
| - name: Push source to Vercel repo | |
| uses: cpina/github-action-push-to-another-repository@v1.6 | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.DEPLOY_TOKEN }} | |
| with: | |
| source-directory: '.' | |
| destination-github-username: 'junman140' | |
| destination-repository-name: 'USDP-TEST-FRONTEND' | |
| user-email: 'github-actions[bot]@users.noreply.github.com' | |
| user-name: 'GitHub Actions' | |
| target-branch: 'main' | |
| commit-message: 'Sync source code for Vercel build 🚀' | |