FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

FTP-Deploy-Action cannot be used if initial upload takes longer than 6 hours

Open JulianGro opened this issue 2 years ago • 0 comments

Bug Description When deploying a large amount of files, a workflow might run into GitHubs 6 hour time limit. Since FTP-Deploy-Action does not create intermittent .ftp-deploy-sync-state.json files, it has to start anew after GitHub kills the runner.

My Action Config

name: Deploy

on:
  push:
    branches:
      - master

jobs:
  build_site:
    runs-on: ubuntu-latest

    name: Deploy content
    steps:
    - uses: actions/checkout@v3

    - name: Deploy content
      uses: SamKirkland/[email protected]
      with:
        server: ftp.tuxfamily.org
        username: ${{ secrets.GHA_FTP_USER }}
        password: ${{ secrets.GHA_FTP_PASS }}
        local-dir: ./
        server-dir: overte/overte-repository/content/
        exclude: |
          **/staging/**
          .htaccess
          **/.git*
          **/.git*/**

JulianGro avatar Aug 19 '22 15:08 JulianGro