This commit is contained in:
parent
ddbaf2b3bd
commit
e159cecd2f
30
.gitea/workflows/test.yml
Normal file
30
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: DEPLOY
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
|
||||||
|
- name: deploy to server
|
||||||
|
uses: rejahrehim/rsync-deploy-with-proxy@v2.1.6
|
||||||
|
env:
|
||||||
|
DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
|
ARGS: "--delete -av"
|
||||||
|
SERVER_PORT: ${{ secrets.SERVER_PORT }}
|
||||||
|
FOLDER: "."
|
||||||
|
SERVER_IP: ${{ secrets.SERVER_IP }}
|
||||||
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
|
SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION }}
|
||||||
|
PROXY_SERVER_PORT: ${{ secrets.PROXY_SERVER_PORT }}
|
||||||
|
PROXY_SERVER_USERNAME: ${{ secrets.PROXY_SERVER_USERNAME }}
|
||||||
|
PROXY_SERVER_IP: ${{ secrets.PROXY_SERVER_IP }}
|
Loading…
Reference in New Issue
Block a user