From a639693dc8dc3a54dfa83b530a2c1d987fbc88c1 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 4 Feb 2024 07:57:07 -0800 Subject: [PATCH] cdn sync. --- .github/workflows/cdn-deploy.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/cdn-deploy.yaml diff --git a/.github/workflows/cdn-deploy.yaml b/.github/workflows/cdn-deploy.yaml new file mode 100644 index 00000000..425f37b0 --- /dev/null +++ b/.github/workflows/cdn-deploy.yaml @@ -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