fix : ci 수정 #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@ | ||
|
Check failure on line 15 in .github/workflows/ci.yml
|
||
| - name: Check file list | ||
| run: ls -R | ||
| - 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 | ||