skyflytravel.hu/.github/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: control characters are not allowed

25 lines
588 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Deploy to Rackhost via FTP
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Ha van build (pl. npm run build), akkor ide jne.
- name: Upload via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASS }}
port: ${{ secrets.FTP_PORT }}
local-dir: ./out/
server-dir: ${{ secrets.REMOTE_PATH }}