Skip to content

chore: log to test path issue #25

chore: log to test path issue

chore: log to test path issue #25

Workflow file for this run

name: Docker Image CI for GHCR
on: push
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
cd ~/bilingualmanga && git pull && git status
echo "${{ secrets.GH_PAT }}" | docker login --username louismollick --password-stdin ghcr.io
docker build . --tag ghcr.io/louismollick/bilingualmanga:latest
docker push ghcr.io/louismollick/bilingualmanga:latest