Git Product home page Git Product logo

argo-cd's Introduction

Introduction

mikesay is the source code of my blog which is based on Hexo. In order to setup the blog, install node and npm.

Do not run below hexo command to deploy the site, because it will always delete existing static site from git repo which will cause github page remove the configuration of custom domain, so that each deploy will have to re-enable the custom domain manually:

hexo clean
hexo deploy

Deploy blog site

  • Clone blog source code
git clone https://github.com/mikesay/mikeblog.git
cd mikeblog
  • Run shell scripts to install npm dependencies
./setup.sh
  • Generate static site
hexo generate

The static site will be generated in public folder

  • Add ebooks and adhoc files supporiting GitHub page
touch public/.nojekyll
echo www.mikesay.com > public/CNAME
rsync -av --delete ./ebooks ./public/

ebooks including additional static site created from docisfy

  • Clone git repo which include static site
git clone https://github.com/mikesay/mikesay.github.io.git mikesay
  • Update static site with latest generated site
cd ..
rsync -av --delete --exclude '.git*' ./public/ ./mikesay/
  • Push latest static site
cd mikesay
git add .
git commit -m "Update site."

Build additional static site created from mkdocs

Take ArgoCD document as an example.

  • Run below command to install mkdocs
pip install mkdocs
  • Clone forked ArgoCD repository of branch translate_docs
git clone -b translate_docs https://github.com/mikesay/argo-cd.git
  • Build the static site files
cd argo-cd
mkdocs build
  • Sync latest document to mike blog
cd argo-cd
rsync -a -P --delete --force site/ mikeblog/ebooks/argocd/

The github action will be used to deploy the site automatically.

argo-cd's People

Contributors

alexec avatar alexmt avatar chetan-rns avatar d-kuro avatar darshanime avatar dependabot[bot] avatar dthomson25 avatar edlee2121 avatar iam-veeramalla avatar igaskin avatar ishitasequeira avatar jangraefen avatar jannfis avatar jessesuen avatar jgwest avatar jsoref avatar keithchong avatar kshamajain99 avatar lcostea avatar mayzhang2000 avatar merenbach avatar rachelwang20 avatar rbreeze avatar reginapizza avatar sbose78 avatar simster7 avatar tetchel avatar twz123 avatar wtam2018 avatar yujunz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.