inflearn logo
강의

Course

Instructor

Creating a crawler web page using Github Actions

After creating the crawling data file, push it to me

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

704

daniel

58 asked

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

Answer 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

SEMrush 링크 어디있나요?

0

31

1

16강 로컬에서 먼저 테스트

0

27

0

[질문] 파이썬 버전 질문

0

35

1

git add와 git commit, git status 강의 내용 질문

0

37

2

카카오톡 sdk 로그인

1

42

1

10:41 그림이 이해가 안갑니다.

0

44

1

강의 수업자료(grabity.me) 내 이미지가 표시되지 않습니다

1

70

2

강의 자료 접근 불가

1

76

1

결제기능까지 알려주실수있나요?

1

89

2

보안 점검

1

81

2

스케쥴 설정 질문

0

91

2

안녕하세요 ppt 자료 메일로 부탁드립니다

0

54

1

09차 네이버 영화 리뷰 수집 실습 관련 질문

0

56

1

강의영상 버퍼링

1

90

4

git status 에서 폴더에 파일을 생성하면 해당 파일이 수정으로 뜨는데 기존 파일 수정시에는 수정내역으로 안뜨네요 왜 그런걸까요?

0

33

1

DESIGN.md 파일이 잘못되었어요

1

78

1

mcp 연결안됌

1

99

2

안녕하세요

0

62

1

저는 Auto mode가 없어요

1

95

1

강의 초반에 생긴 질문

1

89

1

네이버 로그인 자동화 pyperclip 사용시에도 자동로그인방지가 발생합니다.

0

211

3

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

0

502

3

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

0

359

1

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

0

719

2