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