CI 수정

This commit is contained in:
ByeonJungHun
2024-06-25 17:01:04 +09:00
parent 5e3c5a7f81
commit 63bcd3913a
3 changed files with 31 additions and 11 deletions

View File

@@ -6,10 +6,10 @@ import git
import json
token = os.environ['GIT_TOKEN']
# 사용자 목록
user = ['변정훈1', '변정훈2', '변정훈3']
user = os.environ['GIT_USER']
url = os.environ['GIT_URL']
repo_url = f'https://sa_8001:{token}@lab.jhcloud.kr/sa_8001/test_json.git'
repo_url = f'https://{user}:{token}@{url}'
local_path = 'repo'
# JSON 데이터 가져오기
@@ -24,13 +24,8 @@ json_file_path = os.path.join(local_path, 'test_json.json')
with open(json_file_path, 'r', encoding='utf-8') as file:
data = json.load(file)
# response = requests.get(json_url)
# data = response.json()
# DataFrame으로 변환
df = pd.DataFrame(data)
# 테이블로 표시
st.title('버전 관리')
cols = st.columns([5,5])