From 9008bc6bef993cf7a66c8cf247b56e9bdaad2efc Mon Sep 17 00:00:00 2001 From: Sanskar Sahu Date: Sun, 18 Jun 2023 10:10:29 +0530 Subject: [PATCH] Delete main.yml --- .github/workflows/main.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 6a3537a..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Run Node.js Script - -on: - push: - branches: master - schedule: - - cron: "0 */24 * * *" - -env: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BASE_URL: ${{ secrets.BASE_URL }} - CLIENT_ID: ${{ secrets.CLIENT_ID }} - CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} - MEMES_URL: ${{ secrets.MEMES_URL }} - REDIRECT_URI: ${{ secrets.REDIRECT_URI }} - -jobs: - run-script: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: "16" - - - name: Install dependencies - run: npm install - - - name: Run script - run: node src/main.js