From 49613752a5d819782ba5da16ce7d12f1fb7aa975 Mon Sep 17 00:00:00 2001 From: Rohit Vishwakarma <126248971+wishrohitv@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:02:26 +0530 Subject: [PATCH 1/3] Delete .github/workflows/static.yml --- .github/workflows/static.yml | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 34c9205..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v4 - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 From 3290c6ca1bdaeecfd509392f63cba49ec1591fbc Mon Sep 17 00:00:00 2001 From: Rohit Vishwakarma <126248971+wishrohitv@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:02:47 +0530 Subject: [PATCH 2/3] Create static.yml --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..34c9205 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 9e4fc0d9347f94e73cc91c6039d92c4feab4e58f Mon Sep 17 00:00:00 2001 From: Rohit Vishwakarma <126248971+wishrohitv@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:25:52 +0530 Subject: [PATCH 3/3] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 0ee2f10..219bd01 100644 --- a/index.js +++ b/index.js @@ -8,10 +8,10 @@ function called() { if (timestamp >= 0 && timestamp < 12){ greting_user = "Good Morning🤩"; } - else if (timestamp >=12 && timestamp < 19){ + else if (timestamp >=12 && timestamp < 16){ greting_user = "Good AfterNoon🥰" } - else if (timestamp >=19 && timestamp < 24){ + else if (timestamp >=16 && timestamp < 19){ greting_user = "Good Evening😎" } else if (timestamp >=24){