diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba69747..080ff72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,8 +30,11 @@ jobs: autorestart: true, restart_delay: 1000, env: { - NODE_ENV: 'production' + NODE_ENV: 'development' }, + env_production: { + NODE_ENV: 'production', + } } ] }; diff --git a/apollo/queries.js b/apollo/queries.js index 1ca14b8..cf7fed8 100644 --- a/apollo/queries.js +++ b/apollo/queries.js @@ -275,6 +275,7 @@ const GET_POST_BY_ID = gql` title tags { name + slug id } status