From f003d06c529881ccdb6d4490e4a84e2725c951a3 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 4 Feb 2024 08:00:15 -0800 Subject: [PATCH] update workflow --- .github/workflows/cdn-deploy.yaml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cdn-deploy.yaml b/.github/workflows/cdn-deploy.yaml index 9e5825fd..4122c04e 100644 --- a/.github/workflows/cdn-deploy.yaml +++ b/.github/workflows/cdn-deploy.yaml @@ -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