appleboy / appleboy/ssh-action

Specifying shell

Open
#345 3 comments 0 reactions 1 assignee Claimed by @appleboy View on GitHub
bug
Dominant language
Shell
Stars
6.2k
Forks
679
Avg merge
35m
Merged PRs (30d)
1

Description

## Describe the bug

I wanted to specify the shell to use bash. Adding #!/bin/bash and #!/usr/bin/env bash does not work. I tried enclosing the whole script with bash -c but still unfortunate

## Yaml Config

Please post your Yaml configuration file along with the output results.

```yaml
script:
#!/usr/bin/env bash
source .venv/bin/activate
```

## Related environment

Please provide the following information:

Digital Ocean

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.