Skip to content

fix : ci 수정

fix : ci 수정 #15

Workflow file for this run

name: CI - Upload Compose & Traefik Files
on:
push:
branches:
- main
jobs:
upload-files:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: 현재 파일 목록 확인
run: |
pwd
ls -al
ls -al traefik || echo "traefik 없음"
- name: Upload Traefik and Compose files to Server
uses: appleboy/scp-action@v0.1.4
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_PEM_KEY }}
source: |
docker-compose.backend.yml
docker-compose.portainer.yml
docker-compose.traefik.yml
traefik
target: /home/ubuntu/app