This commit is contained in:
parent
a81bafb813
commit
6ce6545870
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Deploy to Server
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Copy to web directory
|
||||
run: |
|
||||
sudo cp -r * /var/www/html/
|
||||
echo "✅ Deployed successfully"
|
||||
Loading…
Reference in New Issue
Block a user