site-perso-poly/.gitea/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 12: mapping values are not allowed in this context

24 lines
710 B
YAML

name: DEPLOY
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: deploy to server
uses: rejahrehim/rsync-deploy-with-proxy@v2.1.6
env:
DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-e -c -r --delete"
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 }}