All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 18s
22 lines
449 B
YAML
22 lines
449 B
YAML
name: GitOps Automatic Deployment
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
GitOps Automatic Deployment:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install rsync
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y rsync
|
|
|
|
- name: Rsync to GitOps Folder Target
|
|
run: |
|
|
rsync -av --delete --exclude '.git/' ./ /Gitops_Destination/ |