Update main.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Wedos FTP | |
on: | |
push: | |
tags: | |
- 'deploy-*' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install FTP deploy action | |
uses: SamKirkland/FTP-Deploy-Action@v5 | |
- name: FTP deploy | |
with: | |
ftp-server: ${{ secrets.FTP_SERVER }} | |
ftp-username: ${{ secrets.FTP_USERNAME }} | |
ftp-password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: ./ # Tento adresář se nahraje na server | |
server-dir: /www/subdom/schema-generator/ # Adresář na serveru, kam se soubory nahrají |