inflearn logo
강의

Khóa học

Chia sẻ kiến thức

Tạo trang web thu thập thông tin bằng Github Action

Tạo một tệp dữ liệu thu thập dữ liệu và đẩy nó cho tôi

push 작업 중 아래와 같은 에러가 발생합니다.

668

daniel

58 câu hỏi đã được viết

0

스크린샷 2023-02-14 오후 11.57.14.png스크린샷 2023-02-14 오후 11.23.23.png
크롤링 데이터 파일 생성 후 나에게 push하기 강의 실습 중 위의 에러가 발생했습니다.

아래는 제 main.yml 파일입니다.

name: helloGithubAction

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        # 개인 토큰을 사용할 것인지 말 것인지
        persist-credentials: false
    - name: 1. pip 업그래이드
      run: python -m pip install --upgrade pip
    - name: 2. 환경 설정
      run: pip install -r requirements.txt
    - name: 3. 파이썬 실행
      run: python test_crawl_2.py
    - name: Commit files
      run: |
        git config --local user.email "hajuny129@gmail.com"
        git config --local user.name "HaJunYoo"
        git add .
        git commit -m "Run crawler and update current data"

    - name: Push changes
      uses: ad-m/github-push-action@master
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        branch: ${{ github.ref }}

웹-크롤링 웹-크롤링 github ci/cd cicd

Câu trả lời 1

1

Jay

You have to configure your repository - Settings -> Action -> General -> Workflow permissions and choose read and write permissions

https://stackoverflow.com/questions/73687176/permission-denied-to-github-actionsbot-the-requested-url-returned-error-403

한글 변수의 한글 상태를 만드는 법?

0

19

0

65강 소리

0

23

1

섹션 5 CSS selector사용해서 클로링하기2의 커리큘럼 일정 부재?

0

23

2

[문의] 깃 워크트리

0

39

1

교육자료가 너무 오래되어서 지시한대로 진행하려 해도 안됩니다.

0

21

1

코딩문의

0

29

1

깃 풀(git pull)에 대한 궁금증이 있습니다!

0

40

1

gitforwindows에서 맥은 뭘 다운받아야 하나요...?

0

41

2

d-day count소스및 그라비티에서 기술하면 뭔가 내용이 안나오네요

0

26

1

reg.get("http://www.naver.com")

0

39

2

크롤링, 영상을 따라해도 제미나에게 물어봐도 안되요

0

38

1

정규표현식 및 여러 코드 꼭 외워야 하나요?

0

44

1

셀레니움 환경설정 오류

0

51

2

git 커밋한 내용 궁금합니다.

0

32

1

cufflinks 버전문제로 iplot() 미실행

0

46

2

네이버 로그인 관련

0

272

2

자바스크립트 파일 중, DOM 영역에서 querySelector가 아닌 다른 함수를 쓰는데 괜찮을까요?

1

89

2

안녕하세요 셀레니움에 대해서 질문

0

87

1

[수정요청]직접 수집한 주가 데이터로 시각화해보기

0

55

2

pd.read_html(url, encoding='cp949') 에러

0

78

2

Live server 를 이용 해보고 싶은데 확장메뉴 설치가 막혀 있어요

0

69

2

그롤러 만들기에서 ConnectionError 가 납니다.

0

447

3

강의 중 노션링크를 못찾겠어요

0

318

1

git Push Change 부분에서 오류가 납니다!

0

682

2