Code Monkey home page Code Monkey logo

keep-alive's Introduction

Keep Alive

image

Octocat to Keep my pyrofile alive.

keep-alive-removebg-preview

Action

name: Keep Alive

on:
  schedule:
    - cron: '* * * * *' # Run every minute for testing, you can put 11:59 UTC๐Ÿ•”

jobs:
  keep-alive:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v2

      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: '14'

      - name: Run Node.js Script
        run: |
          npm install
          node index.js

      - name: Commit and Push Changes
        env:
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
        run: |
          git config user.name "Your Name"
          git config user.email "[email protected]"
          git add update.md
          git commit -m "Keep alive update"
          git push -u origin HEAD

Add a GitHub Token

  1. Generate a GitHub Personal Access Token (PAT) with the repo scope. here!

  2. Go to your repository settings > Secrets.

  3. Add a new secret named GH_TOKEN and paste your PAT.

  4. Make sure to allow permissions to your repository. image

Don't be lazy though ๐Ÿ˜‚ ๐Ÿš€

keep-alive's People

Contributors

sudoevans avatar

Stargazers

Alex Macharia avatar Hayes Frank  avatar Daniel Onwuka avatar  avatar

Watchers

 avatar  avatar

keep-alive's Issues

Too much commits

We don't want to add so many commits till our profile looks fake, only one or two is enough.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.