name: Deploy main to fybx.dev on: push: branches: [ main ] workflow_dispatch: jobs: deploy: # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Upload to public_html via FTP uses: SamKirkland/FTP-Deploy-Action@4.3.0 with: server: ${{ secrets.FTP_SERV }} username: ${{ secrets.FTP_USER }} password: ${{ secrets.FTP_PASS }} server-dir: ${{ secrets.FTP_PATH }} protocol: ftps