diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 00000000..31248ae8 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -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/ \ No newline at end of file