shift-org / shift-org/shift-docs

update netlify deploy process

Open
#649 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
30
Forks
25
Avg merge
9m
Merged PRs (30d)
1

Description

we simplified things but now ./shift pull etc won't work, so let's adapt the netlify deploy process to do the right thing around:

  • rebuilding hugo (using correct version that server uses)
  • connects to new server not old server to restart upon prod deploy
    • "does the right thing" upon prod deploy, probably
      • not rebuilding dockerfile
      • but yes pulling new content, running hugo, and restarting docker container (so node process picks up changes to node code)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Netlify deploy process and the ./shift pull workflow, checking how Hugo, the Dockerfile, and the Node process are currently handled. Done means production deploys use the server's Hugo version, pull new content, restart the Docker container, and avoid rebuilding the Dockerfile when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, hugo, nodejs
Domain
build-system, devops
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.