Update blog/posts/05-16-2025 Learning to Leverage Gitea Runners.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
This commit is contained in:
@ -84,19 +84,23 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
GitOps Automatic Deployment:
|
GitOps Automatic Deployment:
|
||||||
runs-on: gitea-runner-mkdocs
|
runs-on: gitea-runner-gatus
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js, git, and rsync
|
- name: Install Node.js, git, rsync, and curl
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache nodejs npm git rsync
|
apk add --no-cache nodejs npm git rsync curl
|
||||||
|
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Copy Repository Data to Production Server
|
- name: Copy Repository Data to Production Server
|
||||||
run: |
|
run: |
|
||||||
rsync -a --delete --exclude='.git/' . /Gitops_Destination/
|
rsync -a --delete --exclude='.git/' --exclude='.gitea/' . /Gitops_Destination/
|
||||||
|
|
||||||
|
- name: Notify via NTFY
|
||||||
|
run: |
|
||||||
|
curl -d "https://docs.bunny-lab.io - Workflow Completed" https://ntfy.bunny-lab.io/gitea-runners
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! note "`runs-on` Variable"
|
!!! note "`runs-on` Variable"
|
||||||
|
Reference in New Issue
Block a user