Skip to content

fix : ci 수정

fix : ci 수정 #18

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: 디버깅 - source 파일 실제 존재 여부 확인
run: |
echo "[INFO] 현재 경로: $(pwd)"
echo "[INFO] docker-compose.*.yml 파일 확인"
ls -l docker-compose.*.yml || echo "❌ 파일 없음"
echo "[INFO] traefik 디렉토리 내 파일"
ls -l 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 }}
with:
source: "docker-compose.backend.yml, docker-compose.portainer.yml, docker-compose.traefik.yml, traefik"

Check failure on line 35 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI - Upload Compose & Traefik Files

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 35, Col: 13): A mapping was not expected
target: /home/ubuntu/app