Skip to content

.github/workflows/keep-alive.yml #22

.github/workflows/keep-alive.yml

.github/workflows/keep-alive.yml #22

Workflow file for this run

on:
schedule:
- cron: '* * * * *' # Run every minute for testing
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 "sudoevans"
git config user.email "snaveqiptoo@gmail.com"
git add README.md
git commit -m "Keep alive update"
git push -u origin HEAD