Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamatti/adamatti.github.io

Create a new version of https://adamatti.github.io, now with react
https://github.com/adamatti/adamatti.github.io

blog graphql javascript js react tailwind typescript

Last synced: 4 days ago
JSON representation

Create a new version of https://adamatti.github.io, now with react

Awesome Lists containing this project

README

        

Create a new version of https://adamatti.github.io, now with react

# Deploy process

- start graphql server (`make graphql-server`). This is required for html static generation.
- clone the `gh-pages` branch, e.g. `git clone -b gh-pages git@github.com:adamatti/page-react.git ../page-react-deploy`
- run export (`make build-prod`)
- go to the deploy folder (`cd ../page-react-deploy`), add changes to git and publish (`git add . && git commit -m "chore: deploy" && git push`)

#### Questions

- Q: why it is not on github actions / circleci / travis / etc?
- A: because I don't want to publish the `graphql-server` content for now
- Q: do I need all those manual steps?
- A: no, I automated it using makefiles. Just explained it with extra steps for teaching purposes.