All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 6s
21 lines
473 B
YAML
21 lines
473 B
YAML
name: GitOps Automatic Deployment
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
GitOps Automatic Deployment:
|
|
runs-on: gitea-runner-mkdocs
|
|
|
|
steps:
|
|
- name: Install Node.js, git, and rsync
|
|
run: |
|
|
apk add --no-cache nodejs npm git rsync
|
|
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Copy Repository Data to Production Server
|
|
run: |
|
|
rsync -a --delete --exclude='.git/' . /Gitops_Destination/ |