Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All commands Sucess, but show up "err: " #272

Open
webbyus opened this issue Sep 25, 2023 · 6 comments
Open

All commands Sucess, but show up "err: " #272

webbyus opened this issue Sep 25, 2023 · 6 comments

Comments

@webbyus
Copy link

webbyus commented Sep 25, 2023

image
@alak
Copy link

alak commented Nov 2, 2023

Same issue here. with ssh-action@v1.0.0

======CMD======
set -e
cd my_project
git pull origin main
/home/***/.cargo/bin/cargo build --release
echo 'Deployment successful'

======END======
err: From github.com:****/****
err:  * branch            main       -> FETCH_HEAD
err:    0b[21](*****#step:3:22)****  main       -> origin/main
out: Updating 0b210d1..be63a57
out: Fast-forward
out:  .github/workflows/deploy.yml | 1 +
out:  1 file changed, 1 insertion(+)
err:     Finished release [optimized] target(s) in 0.11s
out: Deployment successful to digital ocean
==============================================
✅ Successfully executed commands to all host.
==============================================

Any idea @appleboy ?

@b0o0d
Copy link

b0o0d commented Mar 1, 2024

it really causing confusions, I must have to change something on view to check whether the deployment successes.

@Bumer-32
Copy link

same with wget

@ahbanavi
Copy link

same with docker compose

image

@thomas-negrault
Copy link

Same
image

With:

 script: |
                    cd projects                 
                    rm -rf project
                    git clone git@github.com:${{ github.repository }}.git project
                    cd project
                    git checkout ${{ github.event.release.tag_name }}
                    docker compose -f docker-compose.yml -f docker-compose.prod.yml pull

@appleboy
Copy link
Owner

appleboy commented Oct 7, 2024

I will take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants