Skip to content

Commit

Permalink
chore: GitHub Action에서 crontab 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcjy committed Sep 18, 2024
1 parent d5041ed commit a2ee78a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name: Deploy Next.js site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: ['main']
# Runs every day at 3:00
schedule:
- cron: '0 19 * * *'
# schedule:
# - cron: '0 19 * * *'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -24,7 +24,7 @@ permissions:
# 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"
group: 'pages'
cancel-in-progress: false

jobs:
Expand Down Expand Up @@ -54,16 +54,16 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: '20'
cache: ${{ steps.detect-package-manager.outputs.manager }}
#- name: Restore cache
# uses: actions/cache@v4
# with:
# path: |
# .next/cache
# Generate a new cache whenever packages or source files change.
# Generate a new cache whenever packages or source files change.
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
# If source files changed but packages didn't, rebuild from a prior cache.
# restore-keys: |
# ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
Expand Down

0 comments on commit a2ee78a

Please sign in to comment.