feat: Added automated deployment
Some checks failed
Deploy Site to Folder / deploy (push) Failing after 1s
Some checks failed
Deploy Site to Folder / deploy (push) Failing after 1s
This commit is contained in:
19
.gitea/workflows/deploy.yaml
Normal file
19
.gitea/workflows/deploy.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Deploy Site to Folder
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: host
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Deploy to Folder
|
||||||
|
run: |
|
||||||
|
echo "Copying files..."
|
||||||
|
cp ./src/* /var/sites/cyper.cc/www/html
|
||||||
Reference in New Issue
Block a user