Skip to content

feat (tool): add translations #42

feat (tool): add translations

feat (tool): add translations #42

Workflow file for this run

on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: copy ssh key
run: |
mkdir -p ~/.ssh
echo -e "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- name: pull repository and run docker
run: |
ssh root@${{ secrets.SERVER_ADDRESS }} <<"ENDSSH"
mkdir -p /root/apps/cloud
ssh-keyscan -t ed25519 github.com >> /root/.ssh/known_hosts
cd /root/apps/cloud
git pull || git clone -b main --single-branch git@github.com:glencoden/looney.git .
echo "${{ secrets.ENV }}" > .env
docker compose down
docker compose up -d --build
docker system prune -f
ENDSSH