update CI/CD workflow: replace containerized testing and deployment with system-installed dependencies
This commit is contained in:
@@ -9,12 +9,15 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: python:3.13-slim
|
||||
steps:
|
||||
- name: 저장소 체크아웃
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Python 3.13 설치
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
|
||||
- name: 테스트용 .env 준비
|
||||
run: |
|
||||
cat > .env <<'EOF'
|
||||
@@ -32,14 +35,14 @@ jobs:
|
||||
needs: test
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine:3.20
|
||||
steps:
|
||||
- name: 저장소 체크아웃
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: ssh/rsync 설치
|
||||
run: apk add --no-cache openssh-client rsync
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends openssh-client rsync
|
||||
|
||||
- name: SSH 키 준비
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user