Upgrade action #2
This file contains 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: Push PageUI | |
on: | |
push: | |
branches: | |
- main # Adjust branch as needed | |
jobs: | |
copy-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Pushes all PageUI templates to PageAI | |
uses: danmindru/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: './' | |
destination_repo: 'danmindru/page-ai' | |
destination_branch: 'main' | |
destination_folder: 'packages/api/page-ui' | |
user_email: '[email protected]' | |
user_name: 'danmindru' | |
commit_msg: '🔄 Sync Page UI' |