Skip to content
upload

GitHub Action

Push Kaggle Kernel

v1.0.0 Latest version

Push Kaggle Kernel

upload

Push Kaggle Kernel

Push Keggle Kernel

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Push Kaggle Kernel

uses: harupy/push-kaggle-kernel@v1.0.0

Learn more about this action in harupy/push-kaggle-kernel

Choose a version

Push Kaggle Kernel

GitHub Action to push Kaggle kernel.

Example

name: Upload Kernel
on:
  push:
    branches:
      - master
jobs:
  upload:
    name: Upload Kernel
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: harupy/push-kaggle-kernel@master
        env:
          KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}
          KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}
        with:
          slug: ${{ github.sha }}
          title: ${{ github.sha }}
          code_file: ./main.py
          language: python
          kernel_type: script
          is_private: false
          competition_sources: |
            titanic