deployphp / action

GitHub Action for Deployer
MIT License
222 stars 44 forks source link

Deploy step hangs for ~4 minutes before failing with "network is unreachable" #36

Closed hashimaziz1 closed 2 years ago

hashimaziz1 commented 2 years ago

I've double-checked that my SSH credentials are correct, I've confirmed that I can successfully log in to my server with ssh <user@host> -p 22, I've searched the error message loads of time with seemingly no match, but no matter what I try I can't seem to get GitHub Actions working with Deployer.

What I have noticed is that the deploy stage seems to take 4 mins for the error message to appear, and then another ~4 mins or so for the cleanup job to finish so that GitHub Actions actually marks it as failed. There's also pretty much nothing of the deploy stage in the GitHub Actions output despite the fact that I'm using deploy -vvv.

Here is my .git/workflows/deploy-on-push.yml:

name: Deployer

on:
  push:
    branches:
      - master

jobs:
  deploy:
    name: Deploy to production
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: 8.0

      - name: Install Dependencies
        run: composer install -o -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

      - name: Deploy
        uses: deployphp/action@v1
        with:
          private-key: ${{ secrets.DEPLOYER_KEY }}
          known-hosts: ${{ secrets.KNOWN_HOSTS }}
          dep: ssh -vvv
          deployer-version: "7.0.0"

Here is the raw (and relatively short) log file when running with dep: deploy -vvv:

Why is GitHub Action with Deployer failing?

2022-03-29T00:53:15.2060751Z Requested labels: ubuntu-latest
2022-03-29T00:53:15.2060812Z Job defined at: Kaos-Industries/rapidradiocodes/.github/workflows/deploy_on_push.yml@refs/heads/master
2022-03-29T00:53:15.2060836Z Waiting for a runner to pick up this job...
2022-03-29T00:53:15.5135005Z Job is waiting for a hosted runner to come online.
2022-03-29T00:53:20.9866723Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2022-03-29T00:53:24.2014269Z Current runner version: '2.289.1'
2022-03-29T00:53:24.2052041Z ##[group]Operating System
2022-03-29T00:53:24.2053170Z Ubuntu
2022-03-29T00:53:24.2053944Z 20.04.4
2022-03-29T00:53:24.2054683Z LTS
2022-03-29T00:53:24.2055482Z ##[endgroup]
2022-03-29T00:53:24.2056276Z ##[group]Virtual Environment
2022-03-29T00:53:24.2057130Z Environment: ubuntu-20.04
2022-03-29T00:53:24.2057978Z Version: 20220227.1
2022-03-29T00:53:24.2059951Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220227.1/images/linux/Ubuntu2004-Readme.md
2022-03-29T00:53:24.2062088Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220227.1
2022-03-29T00:53:24.2063235Z ##[endgroup]
2022-03-29T00:53:24.2064213Z ##[group]Virtual Environment Provisioner
2022-03-29T00:53:24.2065609Z 1.0.0.0-main-20220307-1
2022-03-29T00:53:24.2066837Z ##[endgroup]
2022-03-29T00:53:24.2069358Z ##[group]GITHUB_TOKEN Permissions
2022-03-29T00:53:24.2070541Z Actions: write
2022-03-29T00:53:24.2071551Z Checks: write
2022-03-29T00:53:24.2072397Z Contents: write
2022-03-29T00:53:24.2073207Z Deployments: write
2022-03-29T00:53:24.2074025Z Discussions: write
2022-03-29T00:53:24.2074777Z Issues: write
2022-03-29T00:53:24.2075585Z Metadata: read
2022-03-29T00:53:24.2076355Z Packages: write
2022-03-29T00:53:24.2077177Z Pages: write
2022-03-29T00:53:24.2077967Z PullRequests: write
2022-03-29T00:53:24.2078786Z RepositoryProjects: write
2022-03-29T00:53:24.2079655Z SecurityEvents: write
2022-03-29T00:53:24.2080411Z Statuses: write
2022-03-29T00:53:24.2081242Z ##[endgroup]
2022-03-29T00:53:24.2085777Z Secret source: Actions
2022-03-29T00:53:24.2086804Z Prepare workflow directory
2022-03-29T00:53:24.2974539Z Prepare all required actions
2022-03-29T00:53:24.3164701Z Getting action download info
2022-03-29T00:53:24.5214532Z Download action repository 'actions/checkout@v2' (SHA:ec3a7ce113134d7a93b817d10a8272cb61118579)
2022-03-29T00:53:25.2334633Z Download action repository 'shivammathur/setup-php@v2' (SHA:d37cc3048580de06099c81ded417530716a0d7ab)
2022-03-29T00:53:25.7494400Z Download action repository 'deployphp/action@master' (SHA:0bf91d3ad51b25ed6a44977ce2411282c451b955)
2022-03-29T00:53:26.5097032Z ##[group]Run actions/checkout@v2
2022-03-29T00:53:26.5097989Z with:
2022-03-29T00:53:26.5098738Z   repository: Kaos-Industries/rapidradiocodes
2022-03-29T00:53:26.5099876Z   token: ***
2022-03-29T00:53:26.5100622Z   ssh-strict: true
2022-03-29T00:53:26.5101323Z   persist-credentials: true
2022-03-29T00:53:26.5102046Z   clean: true
2022-03-29T00:53:26.5102680Z   fetch-depth: 1
2022-03-29T00:53:26.5103414Z   lfs: false
2022-03-29T00:53:26.5104111Z   submodules: false
2022-03-29T00:53:26.5104752Z ##[endgroup]
2022-03-29T00:53:26.7593312Z Syncing repository: Kaos-Industries/rapidradiocodes
2022-03-29T00:53:26.7598039Z ##[group]Getting Git version info
2022-03-29T00:53:26.7599466Z Working directory is '/home/runner/work/rapidradiocodes/rapidradiocodes'
2022-03-29T00:53:26.7600929Z [command]/usr/bin/git version
2022-03-29T00:53:26.7651772Z git version 2.35.1
2022-03-29T00:53:26.7654073Z ##[endgroup]
2022-03-29T00:53:26.7657958Z Deleting the contents of '/home/runner/work/rapidradiocodes/rapidradiocodes'
2022-03-29T00:53:26.7664374Z ##[group]Initializing the repository
2022-03-29T00:53:26.7669336Z [command]/usr/bin/git init /home/runner/work/rapidradiocodes/rapidradiocodes
2022-03-29T00:53:26.7740464Z hint: Using 'master' as the name for the initial branch. This default branch name
2022-03-29T00:53:26.7742047Z hint: is subject to change. To configure the initial branch name to use in all
2022-03-29T00:53:26.7743359Z hint: of your new repositories, which will suppress this warning, call:
2022-03-29T00:53:26.7744385Z hint: 
2022-03-29T00:53:26.7745465Z hint:  git config --global init.defaultBranch <name>
2022-03-29T00:53:26.7746421Z hint: 
2022-03-29T00:53:26.7747457Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2022-03-29T00:53:26.7872908Z hint: 'development'. The just-created branch can be renamed via this command:
2022-03-29T00:53:26.7873978Z hint: 
2022-03-29T00:53:26.7876961Z hint:  git branch -m <name>
2022-03-29T00:53:26.7877651Z Initialized empty Git repository in /home/runner/work/rapidradiocodes/rapidradiocodes/.git/
2022-03-29T00:53:26.7878614Z [command]/usr/bin/git remote add origin https://github.com/Kaos-Industries/rapidradiocodes
2022-03-29T00:53:26.7879813Z ##[endgroup]
2022-03-29T00:53:26.7880631Z ##[group]Disabling automatic garbage collection
2022-03-29T00:53:26.7881301Z [command]/usr/bin/git config --local gc.auto 0
2022-03-29T00:53:26.7917009Z ##[endgroup]
2022-03-29T00:53:26.7961636Z ##[group]Setting up auth
2022-03-29T00:53:26.7984439Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-03-29T00:53:26.8037582Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-03-29T00:53:26.8416785Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-03-29T00:53:26.8452550Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-03-29T00:53:26.8697541Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2022-03-29T00:53:26.8742784Z ##[endgroup]
2022-03-29T00:53:26.8743690Z ##[group]Fetching the repository
2022-03-29T00:53:26.8755429Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +38314fcf4b7d8647e337c68bb1f214561306bbdc:refs/remotes/origin/master
2022-03-29T00:53:27.2436130Z remote: Enumerating objects: 299, done.        
2022-03-29T00:53:27.2504753Z remote: Counting objects:   0% (1/299)        
2022-03-29T00:53:27.2505663Z remote: Counting objects:   1% (3/299)        
2022-03-29T00:53:27.2506614Z remote: Counting objects:   2% (6/299)        
2022-03-29T00:53:27.2507483Z remote: Counting objects:   3% (9/299)        
2022-03-29T00:53:27.2508781Z remote: Counting objects:   4% (12/299)        
2022-03-29T00:53:27.2509673Z remote: Counting objects:   5% (15/299)        
2022-03-29T00:53:27.2510414Z remote: Counting objects:   6% (18/299)        
2022-03-29T00:53:27.2511256Z remote: Counting objects:   7% (21/299)        
2022-03-29T00:53:27.2512089Z remote: Counting objects:   8% (24/299)        
2022-03-29T00:53:27.2512925Z remote: Counting objects:   9% (27/299)        
2022-03-29T00:53:27.2513758Z remote: Counting objects:  10% (30/299)        
2022-03-29T00:53:27.2514576Z remote: Counting objects:  11% (33/299)        
2022-03-29T00:53:27.2515360Z remote: Counting objects:  12% (36/299)        
2022-03-29T00:53:27.2516299Z remote: Counting objects:  13% (39/299)        
2022-03-29T00:53:27.2517128Z remote: Counting objects:  14% (42/299)        
2022-03-29T00:53:27.2518002Z remote: Counting objects:  15% (45/299)        
2022-03-29T00:53:27.2518852Z remote: Counting objects:  16% (48/299)        
2022-03-29T00:53:27.2519687Z remote: Counting objects:  17% (51/299)        
2022-03-29T00:53:27.2520519Z remote: Counting objects:  18% (54/299)        
2022-03-29T00:53:27.2521343Z remote: Counting objects:  19% (57/299)        
2022-03-29T00:53:27.2522180Z remote: Counting objects:  20% (60/299)        
2022-03-29T00:53:27.2523018Z remote: Counting objects:  21% (63/299)        
2022-03-29T00:53:27.2523837Z remote: Counting objects:  22% (66/299)        
2022-03-29T00:53:27.2524703Z remote: Counting objects:  23% (69/299)        
2022-03-29T00:53:27.2525533Z remote: Counting objects:  24% (72/299)        
2022-03-29T00:53:27.2527172Z remote: Counting objects:  25% (75/299)        
2022-03-29T00:53:27.2527979Z remote: Counting objects:  26% (78/299)        
2022-03-29T00:53:27.2528696Z remote: Counting objects:  27% (81/299)        
2022-03-29T00:53:27.2529607Z remote: Counting objects:  28% (84/299)        
2022-03-29T00:53:27.2530726Z remote: Counting objects:  29% (87/299)        
2022-03-29T00:53:27.2531429Z remote: Counting objects:  30% (90/299)        
2022-03-29T00:53:27.2532164Z remote: Counting objects:  31% (93/299)        
2022-03-29T00:53:27.2532890Z remote: Counting objects:  32% (96/299)        
2022-03-29T00:53:27.2533601Z remote: Counting objects:  33% (99/299)        
2022-03-29T00:53:27.2534330Z remote: Counting objects:  34% (102/299)        
2022-03-29T00:53:27.2535048Z remote: Counting objects:  35% (105/299)        
2022-03-29T00:53:27.2535786Z remote: Counting objects:  36% (108/299)        
2022-03-29T00:53:27.2536516Z remote: Counting objects:  37% (111/299)        
2022-03-29T00:53:27.2537224Z remote: Counting objects:  38% (114/299)        
2022-03-29T00:53:27.2537964Z remote: Counting objects:  39% (117/299)        
2022-03-29T00:53:27.2538682Z remote: Counting objects:  40% (120/299)        
2022-03-29T00:53:27.2539397Z remote: Counting objects:  41% (123/299)        
2022-03-29T00:53:27.2540130Z remote: Counting objects:  42% (126/299)        
2022-03-29T00:53:27.2540839Z remote: Counting objects:  43% (129/299)        
2022-03-29T00:53:27.2541578Z remote: Counting objects:  44% (132/299)        
2022-03-29T00:53:27.2542325Z remote: Counting objects:  45% (135/299)        
2022-03-29T00:53:27.2543024Z remote: Counting objects:  46% (138/299)        
2022-03-29T00:53:27.2543757Z remote: Counting objects:  47% (141/299)        
2022-03-29T00:53:27.2544481Z remote: Counting objects:  48% (144/299)        
2022-03-29T00:53:27.2545206Z remote: Counting objects:  49% (147/299)        
2022-03-29T00:53:27.2545954Z remote: Counting objects:  50% (150/299)        
2022-03-29T00:53:27.2546664Z remote: Counting objects:  51% (153/299)        
2022-03-29T00:53:27.2547406Z remote: Counting objects:  52% (156/299)        
2022-03-29T00:53:27.2548160Z remote: Counting objects:  53% (159/299)        
2022-03-29T00:53:27.2548879Z remote: Counting objects:  54% (162/299)        
2022-03-29T00:53:27.2549612Z remote: Counting objects:  55% (165/299)        
2022-03-29T00:53:27.2550355Z remote: Counting objects:  56% (168/299)        
2022-03-29T00:53:27.2551294Z remote: Counting objects:  57% (171/299)        
2022-03-29T00:53:27.2552053Z remote: Counting objects:  58% (174/299)        
2022-03-29T00:53:27.2552757Z remote: Counting objects:  59% (177/299)        
2022-03-29T00:53:27.2553483Z remote: Counting objects:  60% (180/299)        
2022-03-29T00:53:27.2554202Z remote: Counting objects:  61% (183/299)        
2022-03-29T00:53:27.2554903Z remote: Counting objects:  62% (186/299)        
2022-03-29T00:53:27.2555641Z remote: Counting objects:  63% (189/299)        
2022-03-29T00:53:27.2556375Z remote: Counting objects:  64% (192/299)        
2022-03-29T00:53:27.2557327Z remote: Counting objects:  65% (195/299)        
2022-03-29T00:53:27.2558048Z remote: Counting objects:  66% (198/299)        
2022-03-29T00:53:27.2558771Z remote: Counting objects:  67% (201/299)        
2022-03-29T00:53:27.2559472Z remote: Counting objects:  68% (204/299)        
2022-03-29T00:53:27.2560208Z remote: Counting objects:  69% (207/299)        
2022-03-29T00:53:27.2560951Z remote: Counting objects:  70% (210/299)        
2022-03-29T00:53:27.2561694Z remote: Counting objects:  71% (213/299)        
2022-03-29T00:53:27.2562421Z remote: Counting objects:  72% (216/299)        
2022-03-29T00:53:27.2563129Z remote: Counting objects:  73% (219/299)        
2022-03-29T00:53:27.2563822Z remote: Counting objects:  74% (222/299)        
2022-03-29T00:53:27.2564550Z remote: Counting objects:  75% (225/299)        
2022-03-29T00:53:27.2565255Z remote: Counting objects:  76% (228/299)        
2022-03-29T00:53:27.2565984Z remote: Counting objects:  77% (231/299)        
2022-03-29T00:53:27.2566703Z remote: Counting objects:  78% (234/299)        
2022-03-29T00:53:27.2567402Z remote: Counting objects:  79% (237/299)        
2022-03-29T00:53:27.2568119Z remote: Counting objects:  80% (240/299)        
2022-03-29T00:53:27.2568839Z remote: Counting objects:  81% (243/299)        
2022-03-29T00:53:27.2570620Z remote: Counting objects:  82% (246/299)        
2022-03-29T00:53:27.2571387Z remote: Counting objects:  83% (249/299)        
2022-03-29T00:53:27.2572100Z remote: Counting objects:  84% (252/299)        
2022-03-29T00:53:27.2572823Z remote: Counting objects:  85% (255/299)        
2022-03-29T00:53:27.2573778Z remote: Counting objects:  86% (258/299)        
2022-03-29T00:53:27.2574483Z remote: Counting objects:  87% (261/299)        
2022-03-29T00:53:27.2575201Z remote: Counting objects:  88% (264/299)        
2022-03-29T00:53:27.2575922Z remote: Counting objects:  89% (267/299)        
2022-03-29T00:53:27.2576629Z remote: Counting objects:  90% (270/299)        
2022-03-29T00:53:27.2577353Z remote: Counting objects:  91% (273/299)        
2022-03-29T00:53:27.2578068Z remote: Counting objects:  92% (276/299)        
2022-03-29T00:53:27.2578781Z remote: Counting objects:  93% (279/299)        
2022-03-29T00:53:27.2579514Z remote: Counting objects:  94% (282/299)        
2022-03-29T00:53:27.2580225Z remote: Counting objects:  95% (285/299)        
2022-03-29T00:53:27.2580956Z remote: Counting objects:  96% (288/299)        
2022-03-29T00:53:27.2581693Z remote: Counting objects:  97% (291/299)        
2022-03-29T00:53:27.2582397Z remote: Counting objects:  98% (294/299)        
2022-03-29T00:53:27.2583108Z remote: Counting objects:  99% (297/299)        
2022-03-29T00:53:27.2583827Z remote: Counting objects: 100% (299/299)        
2022-03-29T00:53:27.2584553Z remote: Counting objects: 100% (299/299), done.        
2022-03-29T00:53:27.2585324Z remote: Compressing objects:   0% (1/248)        
2022-03-29T00:53:27.2586055Z remote: Compressing objects:   1% (3/248)        
2022-03-29T00:53:27.2586790Z remote: Compressing objects:   2% (5/248)        
2022-03-29T00:53:27.2587523Z remote: Compressing objects:   3% (8/248)        
2022-03-29T00:53:27.2588245Z remote: Compressing objects:   4% (10/248)        
2022-03-29T00:53:27.2588982Z remote: Compressing objects:   5% (13/248)        
2022-03-29T00:53:27.2589718Z remote: Compressing objects:   6% (15/248)        
2022-03-29T00:53:27.2590733Z remote: Compressing objects:   7% (18/248)        
2022-03-29T00:53:27.2591496Z remote: Compressing objects:   8% (20/248)        
2022-03-29T00:53:27.2592220Z remote: Compressing objects:   9% (23/248)        
2022-03-29T00:53:27.2592956Z remote: Compressing objects:  10% (25/248)        
2022-03-29T00:53:27.2593683Z remote: Compressing objects:  11% (28/248)        
2022-03-29T00:53:27.2594415Z remote: Compressing objects:  12% (30/248)        
2022-03-29T00:53:27.2595151Z remote: Compressing objects:  13% (33/248)        
2022-03-29T00:53:27.2595893Z remote: Compressing objects:  14% (35/248)        
2022-03-29T00:53:27.2596656Z remote: Compressing objects:  15% (38/248)        
2022-03-29T00:53:27.2597391Z remote: Compressing objects:  16% (40/248)        
2022-03-29T00:53:27.2598120Z remote: Compressing objects:  17% (43/248)        
2022-03-29T00:53:27.2598838Z remote: Compressing objects:  18% (45/248)        
2022-03-29T00:53:27.2599564Z remote: Compressing objects:  19% (48/248)        
2022-03-29T00:53:27.2600280Z remote: Compressing objects:  20% (50/248)        
2022-03-29T00:53:27.2601010Z remote: Compressing objects:  21% (53/248)        
2022-03-29T00:53:27.2601744Z remote: Compressing objects:  22% (55/248)        
2022-03-29T00:53:27.2602457Z remote: Compressing objects:  23% (58/248)        
2022-03-29T00:53:27.2603184Z remote: Compressing objects:  24% (60/248)        
2022-03-29T00:53:27.2603916Z remote: Compressing objects:  25% (62/248)        
2022-03-29T00:53:27.2604629Z remote: Compressing objects:  26% (65/248)        
2022-03-29T00:53:27.2660506Z remote: Compressing objects:  27% (67/248)        
2022-03-29T00:53:27.2661342Z remote: Compressing objects:  28% (70/248)        
2022-03-29T00:53:27.2662127Z remote: Compressing objects:  29% (72/248)        
2022-03-29T00:53:27.2662854Z remote: Compressing objects:  30% (75/248)        
2022-03-29T00:53:27.2663565Z remote: Compressing objects:  31% (77/248)        
2022-03-29T00:53:27.2664634Z remote: Compressing objects:  32% (80/248)        
2022-03-29T00:53:27.2665369Z remote: Compressing objects:  33% (82/248)        
2022-03-29T00:53:27.2666084Z remote: Compressing objects:  34% (85/248)        
2022-03-29T00:53:27.2666807Z remote: Compressing objects:  35% (87/248)        
2022-03-29T00:53:27.2667519Z remote: Compressing objects:  36% (90/248)        
2022-03-29T00:53:27.2668238Z remote: Compressing objects:  37% (92/248)        
2022-03-29T00:53:27.2668962Z remote: Compressing objects:  38% (95/248)        
2022-03-29T00:53:27.2669680Z remote: Compressing objects:  39% (97/248)        
2022-03-29T00:53:27.2670407Z remote: Compressing objects:  40% (100/248)        
2022-03-29T00:53:27.2671146Z remote: Compressing objects:  41% (102/248)        
2022-03-29T00:53:27.2674152Z remote: Compressing objects:  42% (105/248)        
2022-03-29T00:53:27.2674840Z remote: Compressing objects:  43% (107/248)        
2022-03-29T00:53:27.2675515Z remote: Compressing objects:  44% (110/248)        
2022-03-29T00:53:27.2676160Z remote: Compressing objects:  45% (112/248)        
2022-03-29T00:53:27.2676825Z remote: Compressing objects:  46% (115/248)        
2022-03-29T00:53:27.2677472Z remote: Compressing objects:  47% (117/248)        
2022-03-29T00:53:27.2678127Z remote: Compressing objects:  48% (120/248)        
2022-03-29T00:53:27.2678898Z remote: Compressing objects:  49% (122/248)        
2022-03-29T00:53:27.2679620Z remote: Compressing objects:  50% (124/248)        
2022-03-29T00:53:27.2680348Z remote: Compressing objects:  51% (127/248)        
2022-03-29T00:53:27.2681074Z remote: Compressing objects:  52% (129/248)        
2022-03-29T00:53:27.2681782Z remote: Compressing objects:  53% (132/248)        
2022-03-29T00:53:27.2682511Z remote: Compressing objects:  54% (134/248)        
2022-03-29T00:53:27.2683222Z remote: Compressing objects:  55% (137/248)        
2022-03-29T00:53:27.2683954Z remote: Compressing objects:  56% (139/248)        
2022-03-29T00:53:27.2684680Z remote: Compressing objects:  57% (142/248)        
2022-03-29T00:53:27.2694737Z remote: Compressing objects:  58% (144/248)        
2022-03-29T00:53:27.2811538Z remote: Compressing objects:  59% (147/248)        
2022-03-29T00:53:27.2997730Z remote: Compressing objects:  60% (149/248)        
2022-03-29T00:53:27.2998384Z remote: Compressing objects:  61% (152/248)        
2022-03-29T00:53:27.2998984Z remote: Compressing objects:  62% (154/248)        
2022-03-29T00:53:27.2999590Z remote: Compressing objects:  63% (157/248)        
2022-03-29T00:53:27.3000164Z remote: Compressing objects:  64% (159/248)        
2022-03-29T00:53:27.3000753Z remote: Compressing objects:  65% (162/248)        
2022-03-29T00:53:27.3001327Z remote: Compressing objects:  66% (164/248)        
2022-03-29T00:53:27.3002173Z remote: Compressing objects:  67% (167/248)        
2022-03-29T00:53:27.3002803Z remote: Compressing objects:  68% (169/248)        
2022-03-29T00:53:27.3003395Z remote: Compressing objects:  69% (172/248)        
2022-03-29T00:53:27.3003997Z remote: Compressing objects:  70% (174/248)        
2022-03-29T00:53:27.3004585Z remote: Compressing objects:  71% (177/248)        
2022-03-29T00:53:27.3005169Z remote: Compressing objects:  72% (179/248)        
2022-03-29T00:53:27.3005744Z remote: Compressing objects:  73% (182/248)        
2022-03-29T00:53:27.3006325Z remote: Compressing objects:  74% (184/248)        
2022-03-29T00:53:27.3006913Z remote: Compressing objects:  75% (186/248)        
2022-03-29T00:53:27.3007487Z remote: Compressing objects:  76% (189/248)        
2022-03-29T00:53:27.3008077Z remote: Compressing objects:  77% (191/248)        
2022-03-29T00:53:27.3008645Z remote: Compressing objects:  78% (194/248)        
2022-03-29T00:53:27.3009228Z remote: Compressing objects:  79% (196/248)        
2022-03-29T00:53:27.3009944Z remote: Compressing objects:  80% (199/248)        
2022-03-29T00:53:27.3010530Z remote: Compressing objects:  81% (201/248)        
2022-03-29T00:53:27.3011357Z remote: Compressing objects:  82% (204/248)        
2022-03-29T00:53:27.3011931Z remote: Compressing objects:  83% (206/248)        
2022-03-29T00:53:27.3012522Z remote: Compressing objects:  84% (209/248)        
2022-03-29T00:53:27.3013092Z remote: Compressing objects:  85% (211/248)        
2022-03-29T00:53:27.3013684Z remote: Compressing objects:  86% (214/248)        
2022-03-29T00:53:27.3014272Z remote: Compressing objects:  87% (216/248)        
2022-03-29T00:53:27.3014842Z remote: Compressing objects:  88% (219/248)        
2022-03-29T00:53:27.3015425Z remote: Compressing objects:  89% (221/248)        
2022-03-29T00:53:27.3015993Z remote: Compressing objects:  90% (224/248)        
2022-03-29T00:53:27.3016594Z remote: Compressing objects:  91% (226/248)        
2022-03-29T00:53:27.3017180Z remote: Compressing objects:  92% (229/248)        
2022-03-29T00:53:27.3017762Z remote: Compressing objects:  93% (231/248)        
2022-03-29T00:53:27.3018332Z remote: Compressing objects:  94% (234/248)        
2022-03-29T00:53:27.3018924Z remote: Compressing objects:  95% (236/248)        
2022-03-29T00:53:27.3019499Z remote: Compressing objects:  96% (239/248)        
2022-03-29T00:53:27.3020087Z remote: Compressing objects:  97% (241/248)        
2022-03-29T00:53:27.3020658Z remote: Compressing objects:  98% (244/248)        
2022-03-29T00:53:27.3021237Z remote: Compressing objects:  99% (246/248)        
2022-03-29T00:53:27.3021824Z remote: Compressing objects: 100% (248/248)        
2022-03-29T00:53:27.3022418Z remote: Compressing objects: 100% (248/248), done.        
2022-03-29T00:53:27.3023002Z Receiving objects:   0% (1/299)
2022-03-29T00:53:27.3023506Z Receiving objects:   1% (3/299)
2022-03-29T00:53:27.3024027Z Receiving objects:   2% (6/299)
2022-03-29T00:53:27.3024964Z Receiving objects:   3% (9/299)
2022-03-29T00:53:27.3026804Z Receiving objects:   4% (12/299)
2022-03-29T00:53:27.3027575Z Receiving objects:   5% (15/299)
2022-03-29T00:53:27.3028226Z Receiving objects:   6% (18/299)
2022-03-29T00:53:27.3028907Z Receiving objects:   7% (21/299)
2022-03-29T00:53:27.3029565Z Receiving objects:   8% (24/299)
2022-03-29T00:53:27.3030435Z Receiving objects:   9% (27/299)
2022-03-29T00:53:27.3031121Z Receiving objects:  10% (30/299)
2022-03-29T00:53:27.3031761Z Receiving objects:  11% (33/299)
2022-03-29T00:53:27.3032817Z Receiving objects:  12% (36/299)
2022-03-29T00:53:27.3033486Z Receiving objects:  13% (39/299)
2022-03-29T00:53:27.3034132Z Receiving objects:  14% (42/299)
2022-03-29T00:53:27.3034801Z Receiving objects:  15% (45/299)
2022-03-29T00:53:27.3035467Z Receiving objects:  16% (48/299)
2022-03-29T00:53:27.3036111Z Receiving objects:  17% (51/299)
2022-03-29T00:53:27.3036777Z Receiving objects:  18% (54/299)
2022-03-29T00:53:27.3038450Z Receiving objects:  19% (57/299)
2022-03-29T00:53:27.3039147Z Receiving objects:  20% (60/299)
2022-03-29T00:53:27.3039815Z Receiving objects:  21% (63/299)
2022-03-29T00:53:27.3307398Z Receiving objects:  22% (66/299)
2022-03-29T00:53:27.3308015Z Receiving objects:  23% (69/299)
2022-03-29T00:53:27.3308567Z Receiving objects:  24% (72/299)
2022-03-29T00:53:27.3357878Z Receiving objects:  25% (75/299)
2022-03-29T00:53:27.3358679Z Receiving objects:  26% (78/299)
2022-03-29T00:53:27.3359259Z Receiving objects:  27% (81/299)
2022-03-29T00:53:27.3359917Z Receiving objects:  28% (84/299)
2022-03-29T00:53:27.3360557Z Receiving objects:  29% (87/299)
2022-03-29T00:53:27.3633294Z Receiving objects:  30% (90/299)
2022-03-29T00:53:27.3633990Z Receiving objects:  31% (93/299)
2022-03-29T00:53:27.3634819Z Receiving objects:  32% (96/299)
2022-03-29T00:53:27.3635561Z Receiving objects:  33% (99/299)
2022-03-29T00:53:27.3677648Z Receiving objects:  34% (102/299)
2022-03-29T00:53:27.3678379Z Receiving objects:  35% (105/299)
2022-03-29T00:53:27.4006908Z Receiving objects:  36% (108/299)
2022-03-29T00:53:27.4007570Z Receiving objects:  37% (111/299)
2022-03-29T00:53:27.4009333Z Receiving objects:  38% (114/299)
2022-03-29T00:53:27.4399652Z Receiving objects:  39% (117/299)
2022-03-29T00:53:27.4432395Z Receiving objects:  40% (120/299)
2022-03-29T00:53:27.4804628Z Receiving objects:  41% (123/299)
2022-03-29T00:53:27.4853701Z Receiving objects:  42% (126/299)
2022-03-29T00:53:27.4882330Z Receiving objects:  43% (129/299)
2022-03-29T00:53:27.4882864Z Receiving objects:  44% (132/299)
2022-03-29T00:53:27.4883451Z Receiving objects:  45% (135/299)
2022-03-29T00:53:27.4910235Z Receiving objects:  46% (138/299)
2022-03-29T00:53:27.4922000Z Receiving objects:  47% (141/299)
2022-03-29T00:53:27.4922538Z Receiving objects:  48% (144/299)
2022-03-29T00:53:27.5155579Z Receiving objects:  49% (147/299)
2022-03-29T00:53:27.5170806Z Receiving objects:  50% (150/299)
2022-03-29T00:53:27.5294863Z Receiving objects:  51% (153/299)
2022-03-29T00:53:27.5295718Z Receiving objects:  52% (156/299)
2022-03-29T00:53:27.5467487Z Receiving objects:  53% (159/299)
2022-03-29T00:53:27.5901918Z Receiving objects:  54% (162/299)
2022-03-29T00:53:27.6109762Z Receiving objects:  55% (165/299)
2022-03-29T00:53:27.6138471Z Receiving objects:  56% (168/299)
2022-03-29T00:53:27.6351852Z Receiving objects:  57% (171/299)
2022-03-29T00:53:27.6369073Z Receiving objects:  58% (174/299)
2022-03-29T00:53:27.6683002Z Receiving objects:  59% (177/299)
2022-03-29T00:53:27.6698702Z Receiving objects:  60% (180/299)
2022-03-29T00:53:27.6839245Z Receiving objects:  61% (183/299)
2022-03-29T00:53:27.6866580Z Receiving objects:  62% (186/299)
2022-03-29T00:53:27.7407941Z Receiving objects:  63% (189/299)
2022-03-29T00:53:27.7509459Z Receiving objects:  64% (192/299)
2022-03-29T00:53:27.9902731Z Receiving objects:  65% (195/299)
2022-03-29T00:53:27.9990183Z Receiving objects:  66% (198/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.0036323Z Receiving objects:  67% (201/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1162651Z Receiving objects:  68% (204/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1203411Z Receiving objects:  69% (207/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1554303Z Receiving objects:  70% (210/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1644987Z Receiving objects:  71% (213/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1801261Z Receiving objects:  72% (216/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.1805373Z Receiving objects:  73% (219/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2111299Z Receiving objects:  74% (222/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2112560Z remote: Total 299 (delta 25), reused 285 (delta 24), pack-reused 0        
2022-03-29T00:53:28.2122811Z Receiving objects:  75% (225/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2123635Z Receiving objects:  76% (228/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2124792Z Receiving objects:  77% (231/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2126703Z Receiving objects:  78% (234/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2128494Z Receiving objects:  79% (237/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2130136Z Receiving objects:  80% (240/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2131908Z Receiving objects:  81% (243/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2133261Z Receiving objects:  82% (246/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2134937Z Receiving objects:  83% (249/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2135723Z Receiving objects:  84% (252/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2137465Z Receiving objects:  85% (255/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2138270Z Receiving objects:  86% (258/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2140101Z Receiving objects:  87% (261/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2140835Z Receiving objects:  88% (264/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2143762Z Receiving objects:  89% (267/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2145152Z Receiving objects:  90% (270/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2146527Z Receiving objects:  91% (273/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2147220Z Receiving objects:  92% (276/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2148186Z Receiving objects:  93% (279/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2148866Z Receiving objects:  94% (282/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2149536Z Receiving objects:  95% (285/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2150187Z Receiving objects:  96% (288/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2150856Z Receiving objects:  97% (291/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2151505Z Receiving objects:  98% (294/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2152174Z Receiving objects:  99% (297/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2152846Z Receiving objects: 100% (299/299), 17.54 MiB | 35.06 MiB/s
2022-03-29T00:53:28.2153502Z Receiving objects: 100% (299/299), 38.84 MiB | 42.45 MiB/s, done.
2022-03-29T00:53:28.2159125Z Resolving deltas:   0% (0/25)
2022-03-29T00:53:28.2159748Z Resolving deltas:   4% (1/25)
2022-03-29T00:53:28.2160327Z Resolving deltas:   8% (2/25)
2022-03-29T00:53:28.2160920Z Resolving deltas:  12% (3/25)
2022-03-29T00:53:28.2161488Z Resolving deltas:  16% (4/25)
2022-03-29T00:53:28.2162075Z Resolving deltas:  20% (5/25)
2022-03-29T00:53:28.2162667Z Resolving deltas:  24% (6/25)
2022-03-29T00:53:28.2163227Z Resolving deltas:  28% (7/25)
2022-03-29T00:53:28.2163806Z Resolving deltas:  32% (8/25)
2022-03-29T00:53:28.2164388Z Resolving deltas:  36% (9/25)
2022-03-29T00:53:28.2165074Z Resolving deltas:  40% (10/25)
2022-03-29T00:53:28.2165674Z Resolving deltas:  44% (11/25)
2022-03-29T00:53:28.2169627Z Resolving deltas:  48% (12/25)
2022-03-29T00:53:28.2170180Z Resolving deltas:  52% (13/25)
2022-03-29T00:53:28.2170780Z Resolving deltas:  56% (14/25)
2022-03-29T00:53:28.2180246Z Resolving deltas:  60% (15/25)
2022-03-29T00:53:28.2181217Z Resolving deltas:  64% (16/25)
2022-03-29T00:53:28.2181990Z Resolving deltas:  68% (17/25)
2022-03-29T00:53:28.2182838Z Resolving deltas:  72% (18/25)
2022-03-29T00:53:28.2183663Z Resolving deltas:  76% (19/25)
2022-03-29T00:53:28.2184441Z Resolving deltas:  80% (20/25)
2022-03-29T00:53:28.2185255Z Resolving deltas:  84% (21/25)
2022-03-29T00:53:28.2186083Z Resolving deltas:  88% (22/25)
2022-03-29T00:53:28.2187040Z Resolving deltas:  92% (23/25)
2022-03-29T00:53:28.2203460Z Resolving deltas:  96% (24/25)
2022-03-29T00:53:28.2204501Z Resolving deltas: 100% (25/25)
2022-03-29T00:53:28.2205413Z Resolving deltas: 100% (25/25), done.
2022-03-29T00:53:28.2906908Z From https://github.com/Kaos-Industries/rapidradiocodes
2022-03-29T00:53:28.2908268Z  * [new ref]         38314fcf4b7d8647e337c68bb1f214561306bbdc -> origin/master
2022-03-29T00:53:28.2935473Z ##[endgroup]
2022-03-29T00:53:28.2937066Z ##[group]Determining the checkout info
2022-03-29T00:53:28.2938653Z ##[endgroup]
2022-03-29T00:53:28.2940006Z ##[group]Checking out the ref
2022-03-29T00:53:28.2966086Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2022-03-29T00:53:28.5093241Z Reset branch 'master'
2022-03-29T00:53:28.5094011Z branch 'master' set up to track 'origin/master'.
2022-03-29T00:53:28.5120065Z ##[endgroup]
2022-03-29T00:53:28.5152740Z [command]/usr/bin/git log -1 --format='%H'
2022-03-29T00:53:28.5184728Z '38314fcf4b7d8647e337c68bb1f214561306bbdc'
2022-03-29T00:53:28.5485079Z ##[group]Run shivammathur/setup-php@v2
2022-03-29T00:53:28.5485685Z with:
2022-03-29T00:53:28.5486217Z   php-version: 8
2022-03-29T00:53:28.5486717Z   ini-file: production
2022-03-29T00:53:28.5487234Z ##[endgroup]
2022-03-29T00:53:28.6187968Z [command]/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh
2022-03-29T00:53:28.6288098Z 
2022-03-29T00:53:28.6289584Z ==> Setup PHP
2022-03-29T00:53:28.9651901Z ✓ PHP Switched to PHP 8.0.16
2022-03-29T00:53:28.9662083Z 
2022-03-29T00:53:28.9663186Z ==> Setup Tools
2022-03-29T00:53:29.4774113Z ✓ composer Added composer 2.2.9
2022-03-29T00:53:29.4774651Z 
2022-03-29T00:53:29.4775260Z ==> #StandWithUkraine
2022-03-29T00:53:29.4776361Z ✓ read-more https://setup-php.com/support-ukraine
2022-03-29T00:53:29.4907460Z ##[group]Run composer install -o -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
2022-03-29T00:53:29.4908551Z composer install -o -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
2022-03-29T00:53:29.4965309Z shell: /usr/bin/bash -e {0}
2022-03-29T00:53:29.4965852Z env:
2022-03-29T00:53:29.4966337Z   COMPOSER_PROCESS_TIMEOUT: 0
2022-03-29T00:53:29.4966871Z   COMPOSER_NO_INTERACTION: 1
2022-03-29T00:53:29.4967380Z ##[endgroup]
2022-03-29T00:53:30.7276220Z Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
2022-03-29T00:53:35.5121943Z ##[group]Run deployphp/action@master
2022-03-29T00:53:35.5122456Z with:
2022-03-29T00:53:35.5136080Z   private-key: ***

2022-03-29T00:53:35.5138680Z   known-hosts: ***
2022-03-29T00:53:35.5139162Z   dep: deploy -vvv
2022-03-29T00:53:35.5139644Z env:
2022-03-29T00:53:35.5140115Z   COMPOSER_PROCESS_TIMEOUT: 0
2022-03-29T00:53:35.5140637Z   COMPOSER_NO_INTERACTION: 1
2022-03-29T00:53:35.5141117Z ##[endgroup]
2022-03-29T00:53:35.6568117Z Using "vendor/bin/deployer.phar".
2022-03-29T00:53:36.2458524Z ##[group]task deploy:info
2022-03-29T00:53:36.2468289Z [prod] /usr/bin/php8.0 /home/runner/work/rapidradiocodes/rapidradiocodes/vendor/deployer/deployer/deployer.phar worker --port 43071 --task deploy:info --host prod --ansi --no-interaction --decorated -vvv
2022-03-29T00:53:36.4038877Z [prod] info deploying HEAD
2022-03-29T00:53:36.4039978Z done on prod
2022-03-29T00:53:36.4041817Z ##[endgroup]
2022-03-29T00:53:36.4042824Z ##[group]task deploy:setup
2022-03-29T00:53:36.4044350Z [prod] /usr/bin/php8.0 /home/runner/work/rapidradiocodes/rapidradiocodes/vendor/deployer/deployer/deployer.phar worker --port 43071 --task deploy:setup --host prod --ansi --no-interaction --decorated -vvv
2022-03-29T00:53:36.5244570Z [prod] ssh '-A' 'hashim@rapidradiocodes.co.uk' ': 214d4325f00d56abab2d; bash -ls'
2022-03-29T00:53:36.5245952Z [prod] run [ -d /var/www/rapidradiocodes.co.uk ] || mkdir -p /var/www/rapidradiocodes.co.uk;
2022-03-29T00:53:36.5246892Z cd /var/www/rapidradiocodes.co.uk;
2022-03-29T00:53:36.5248135Z [ -d .dep ] || mkdir .dep;
2022-03-29T00:53:36.5248762Z [ -d releases ] || mkdir releases;
2022-03-29T00:53:36.5249325Z [ -d shared ] || mkdir shared;
2022-03-29T00:57:57.9260166Z [prod] ssh: connect to host rapidradiocodes.co.uk port 22: Network is unreachable
2022-03-29T00:57:57.9261351Z [prod]  error  in setup.php on line 7:
2022-03-29T00:57:57.9262221Z [prod] exit code -1 (Unknown error)
2022-03-29T00:57:57.9265204Z ##[group]task deploy:failed
2022-03-29T00:57:57.9267879Z [prod] /usr/bin/php8.0 /home/runner/work/rapidradiocodes/rapidradiocodes/vendor/deployer/deployer/deployer.phar worker --port 43071 --task deploy:failed --host prod --ansi --no-interaction --decorated -vvv
2022-03-29T00:57:58.0477611Z done on prod
2022-03-29T00:57:58.0787034Z ##[endgroup]
2022-03-29T00:57:58.0788177Z ##[group]task deploy:unlock
2022-03-29T00:57:58.0789856Z [prod] /usr/bin/php8.0 /home/runner/work/rapidradiocodes/rapidradiocodes/vendor/deployer/deployer/deployer.phar worker --port 43071 --task deploy:unlock --host prod --ansi --no-interaction --decorated -vvv
2022-03-29T00:57:58.1997093Z [prod] ssh '-A' 'hashim@rapidradiocodes.co.uk' ': fe0900a1e52144d1f7fa; bash -ls'
2022-03-29T00:57:58.1998278Z [prod] run rm -f /var/www/rapidradiocodes.co.uk/.dep/deploy.lock
2022-03-29T01:02:20.0587876Z [prod] ssh: connect to host rapidradiocodes.co.uk port 22: Network is unreachable
2022-03-29T01:02:20.0589100Z [prod]  error  in lock.php on line 21:
2022-03-29T01:02:20.0589859Z [prod] exit code -1 (Unknown error)
2022-03-29T01:02:20.1060648Z ##[error]Failed: dep deploy -vvv
2022-03-29T01:02:20.1149531Z Post job cleanup.
2022-03-29T01:02:20.2434492Z [command]/usr/bin/git version
2022-03-29T01:02:20.2486814Z git version 2.35.1
2022-03-29T01:02:20.2530353Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-03-29T01:02:20.2577502Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-03-29T01:02:20.2845770Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-03-29T01:02:20.2868744Z http.https://github.com/.extraheader
2022-03-29T01:02:20.2877988Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-03-29T01:02:20.2964052Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-03-29T01:02:20.3466079Z Cleaning up orphan processes

I can also provide my deploy.yml if required, although I'm able to deploy fine locally without GitHub Actions so the problem seems to be with the above Action file.

Thanks in advance, I would really appreciate some help with this because I spent the whole of yesterday banging my head over it.

antonmedv commented 2 years ago

This seems not a Deployer issue. Please, reopen in discussions under Q&A.

hashimaziz1 commented 2 years ago

It's not a Deployer issue but it is definitely an issue with the GitHub Action for Deployer or how I've set it up. As I've said, I can run both ssh user@host -p 22 and dep ssh from my local machine without issue, it's just when it comes to the action that the network becomes unreachable.

feryardiant commented 1 year ago

Hi,

Came across exact same issue with @hashimaziz1, the only difference is I can see in his/her action log has

2022-03-29T00:53:35.5121943Z ##[group]Run deployphp/action@master
2022-03-29T00:53:35.5122456Z with:
2022-03-29T00:53:35.5136080Z   private-key: ***

2022-03-29T00:53:35.5138680Z   known-hosts: ***
2022-03-29T00:53:35.5139162Z   dep: deploy -vvv
2022-03-29T00:53:35.5139644Z env:
2022-03-29T00:53:35.5140115Z   COMPOSER_PROCESS_TIMEOUT: 0
2022-03-29T00:53:35.5140637Z   COMPOSER_NO_INTERACTION: 1

while mine, none (here) using this configuration

with:
    dep: deploy -f scripts/deploy.php -vvv
    skip-ssh-setup: false
    ansi: true
    verbosity: -v

I'm thinking that is it actually configure the ssh setup properly?


Update :

My bad, I miss configure the workflows. Missing secrets: inherit as described here

cc creasico/laravel-project#24