update workflow

This commit is contained in:
Jason Kulatunga 2024-02-04 08:00:15 -08:00
parent aa27b0335c
commit f003d06c52
No known key found for this signature in database
1 changed files with 14 additions and 12 deletions

View File

@ -13,15 +13,17 @@ on:
- warning
- debug
jobs:
- uses: actions/checkout@v2
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'frontend/src/assets/sources'
destination-github-username: 'fastenhealth'
destination-repository-name: 'cdn'
target-directory: 'logos/sources'
user-email: jason@thesparktree.com
target-branch: main
sync:
steps:
- uses: actions/checkout@v2
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'frontend/src/assets/sources'
destination-github-username: 'fastenhealth'
destination-repository-name: 'cdn'
target-directory: 'logos/sources'
user-email: jason@thesparktree.com
target-branch: main