Skip to content

Get Logs

Get Logs #16

Workflow file for this run

name: "Get Logs"
on:
workflow_dispatch:
jobs:
get-logs:
runs-on: ubuntu-latest
steps:
- name: Get logs from docker
uses: appleboy/ssh-action@master
with:
host: ec2-3-79-82-35.eu-central-1.compute.amazonaws.com
username: ec2-user
key: ${{ secrets.SSH_KEY }}
script: |
sudo docker logs ec2-user
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@v3
with:
# url: http://ec2-3-79-82-35.eu-central-1.compute.amazonaws.com
url: https://kotoko.de
max-attempts: 3
retry-delay: 5s
retry-all: true