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

gettime timeout /io error #223

Open
ralyodio opened this issue Feb 8, 2023 · 2 comments
Open

gettime timeout /io error #223

ralyodio opened this issue Feb 8, 2023 · 2 comments

Comments

@ralyodio
Copy link

ralyodio commented Feb 8, 2023

      - name: Restart App Server
        uses: appleboy/ssh-action@master
        with:
          host: ${{ secrets.SSH_HOST }}
          username: ${{ secrets.SSH_USER }}
          key: ${{ secrets.SSH_PRIVATE_KEY }}
          port: ${{ secrets.SSH_PORT }}
          debug: true
          # from ./bin/post-deploy.sh
          #            if [ ${{ contains(github.ref_name, 'release') || github.ref == 'refs/heads/release' }} ]; then
          #           else
          #             cd $HOME/www/${{secrets.HOST_PATH_DEV}}/${{secrets.HOST_PROJECT}}
          #             deno upgrade
          #             sudo /etc/init.d/nginx reload
          #             sudo systemctl daemon-reload
          #             sudo systemctl restart ${{secrets.META_SERVICE_DEV}}
          #           fi
          script: |
            cd $HOME/www/${{secrets.HOST_PATH_DEV}}/${{secrets.HOST_PROJECT}}
            deno upgrade
            sudo /etc/init.d/nginx reload
            sudo systemctl daemon-reload
            sudo systemctl restart ${{secrets.META_SERVICE_DEV}}

It worked yesterday but now its not. I have an rsync command which works fine.

      - name: Deploy with rsync for development
        if: ${{ !contains(github.ref_name, 'release') && github.ref != 'refs/heads/release' }}
        # from ./bin/deploy.sh
        run: rsync -azvP -e "ssh -p ${{ secrets.SSH_PORT }}" --delete --exclude=node_modules --exclude=redis-data --exclude=.idea --exclude=.git --exclude=mongo_data --exclude=data01 --exclude=uploads --exclude=emails.txt --exclude=main --exclude=deno --exclude=app --exclude=database.sqlite --exclude=database.sqlite-journal --exclude=data ./ ${{secrets.SSH_USER}}@${{secrets.SSH_HOST}}:www/${{secrets.HOST_PATH_DEV}}/${{secrets.HOST_PROJECT}}
@appleboy
Copy link
Owner

Please try the latest version and show your output log.

@AnimeshRy
Copy link

Hey this is happening for me as well. Using the latest version. I can ssh fine using the same creds.

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

3 participants