Skip to content

fix : ci 수정

fix : ci 수정 #6

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@
- name:
디버깅: 파일 존재 여부 확인

Check failure on line 18 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: 18, Col: 11): A mapping was not expected
run: |
echo "Current directory:"
pwd
echo "File list:"
ls -al
ls -al 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