Skip to content

Deployment updates #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rgommers opened this issue May 24, 2020 · 3 comments
Closed

Deployment updates #282

rgommers opened this issue May 24, 2020 · 3 comments

Comments

@rgommers
Copy link
Member

rgommers commented May 24, 2020

We're about to launch the new website, and we don't yet have auto-deploy in place. So let's document here how deployment was done on the old Sphinx site, and then what the new procedure is.

Old Sphinx site:

  1. Merge changes into (then) master
  2. Check locally
  3. cd www && make upload

The upload step did:

upload: html
        cd _build/html && \
            touch .nojekyll && \
            echo numpy.org > CNAME && \
            rm -rf .git && \
            git init && \
            git remote add target [email protected]:numpy/numpy.github.com.git && \
            git add -A && \
            git commit -m "Rebuild site" -a && \
            git push -f target master:master

So numpy.org is served from the https://github.com/numpy/numpy.github.com repo, and that repo only ever contained a single commit with the latest generated sources.

The new procedure is following the Hugo docs on deploying to GitHub Pages (uses a submodule).

@rgommers
Copy link
Member Author

See PR gh-289 for the deploy script. Docs will follow after that's reviewed. For now it does the job.

@rgommers
Copy link
Member Author

rgommers commented Oct 8, 2020

See #353 (comment) for the current status on deployment. Still needs work.

@rgommers
Copy link
Member Author

This works fine now, it was fixed in gh-390 (introduce a GH Action that works), gh-391, gh-392 and gh-394 (fix ups). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant