Add .gitea/workflows/deploy.yaml
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
name: Deploy Atom Next
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: epic-web-runner
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync Files to Atom Next
|
||||||
|
run: |
|
||||||
|
echo "Deploying files directly to /var/www/atom-next/..."
|
||||||
|
rsync -avz --delete --exclude='.gitea/' --exclude='.git/' ./ /var/www/atom-next/
|
||||||
Reference in New Issue
Block a user