appleboy / appleboy/scp-action

gives me this Error /usr/bin/env: ‘bash’: No such file or directory

Open
#199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

## Error:

![Image](https://github.com/user-attachments/assets/499b0677-cf12-4ba3-8a10-2bbff20a4e93)

## Here is my workflow:

name: Deploy

on:
push:
branches:
- production

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4

- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Build project
run: npm run build

- name: Copy repository contents via scp
uses: appleboy/scp-action@master
with:
HOST: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSHKEY }}
source: "."
target: "${{ secrets.PATH }}"

Contributor guide

No contributing guide indexed for this repository

Research direction

The payload names no repository files or tests. Start with the posted workflow, especially the appleboy/scp-action@master step, and reproduce the reported error on ubuntu-latest while checking the action's runtime requirements. Done is a confirmed repository-side fix or documented configuration requirement, but the issue does not specify which is expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.