cdn sync.

This commit is contained in:
Jason Kulatunga 2024-02-04 07:57:07 -08:00
parent f2bd182e2b
commit a639693dc8
No known key found for this signature in database
1 changed files with 20 additions and 0 deletions

20
.github/workflows/cdn-deploy.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Cloud-Deploy
on:
push:
branches: [ main ]
workflow_dispatch:
inputs:
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