Add Gitea Actions workflow to deploy on push to main
All checks were successful
Deploy to Production / deploy (push) Successful in 3s
All checks were successful
Deploy to Production / deploy (push) Successful in 3s
This commit is contained in:
13
.gitea/workflows/deploy.yml
Normal file
13
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Deploy to Production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Deploy to production
|
||||
run: bash /home/ubuntu/www/deploy.sh
|
||||
Reference in New Issue
Block a user