fasten-onprem/.github/workflows/cdn-deploy.yaml

31 lines
783 B
YAML
Raw Normal View History

2024-02-04 09:00:46 -07:00
name: CDN-Deploy
2024-02-04 08:57:07 -07:00
on:
push:
branches: [ main ]
workflow_dispatch:
inputs:
2024-02-04 08:59:01 -07:00
logLevel:
description: 'Log level'
type: choice
default: 'info'
options:
- info
- warning
- debug
2024-02-04 08:57:07 -07:00
jobs:
2024-02-04 09:01:52 -07:00
runs-on: ubuntu-latest
2024-02-04 09:00:15 -07:00
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