This commit is contained in:
parent
14c815dafe
commit
c2807956af
@ -5,6 +5,8 @@ on:
|
|||||||
- v4
|
- v4
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: git config --global core.quotepath false
|
- run: git config --global core.quotepath false
|
||||||
@ -26,4 +28,4 @@ jobs:
|
|||||||
chmod 600 /tmp/act_runner_key
|
chmod 600 /tmp/act_runner_key
|
||||||
- name: rsync public directory
|
- name: rsync public directory
|
||||||
run: |
|
run: |
|
||||||
rsync -avz --delete -e "ssh -i /tmp/act_runner_key -p ${{secrets.WEBSERVER_SSH_PORT }}-o StrictHostKeyChecking=no" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html
|
rsync -avz --delete -e "ssh -i /tmp/act_runner_key -p ${{ vars.WEBSERVER_PORT }}-o StrictHostKeyChecking=no" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html
|
Loading…
Reference in New Issue
Block a user