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:
|
||||
GitOps Automatic Deployment:
|
||||
runs-on: gitea-runner-mkdocs
|
||||
runs-on: gitea-runner-gatus
|
||||
|
||||
steps:
|
||||
- name: Install Node.js, git, and rsync
|
||||
- name: Install Node.js, git, rsync, and curl
|
||||
run: |
|
||||
apk add --no-cache nodejs npm git rsync
|
||||
apk add --no-cache nodejs npm git rsync curl
|
||||
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Copy Repository Data to Production Server
|
||||
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"
|
||||
|
Reference in New Issue
Block a user