Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

solita/dev-blog-staging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

792 Commits
 
 
 
 
 
 

Repository files navigation

/dev/solita staging

Archival note: This repo has been unused for a long time... blogs are tested locally in docker.

This is the staging environment for /dev/solita. Try out your changes here before creating a pull request to the production repository. Changes pushed to gh-pages branch will automatically appear in http://dev-staging.solita.fi

Instructions for setting up the blog locally in the production repo: https://github.com/solita/solita.github.com

How to use staging

Add this repository as a remote in the local clone of your /dev/solita/ -fork.

E.g. like this:

git remote add staging git@github.com:solita/dev-blog-staging.git
git checkout -b gh-pages
git branch -u staging/gh-pages

Now you can (rebase and) merge your local changes to gh-pages branch and push them straight to staging.

Important

When you merge your feature branch to staging, make sure you don't accidentally overwrite the CNAME-file. CNAME defines the URL of the environment, which must remain as 'dev-staging.solita.fi'.

One way to make sure you don't accidentally change the CNAME is to run make git ignore any changes to the file. This can be done by running the following command in your local clone:

git update-index --assume-unchanged CNAME

After this git will ignore any changes in the file. If you do this and one day need to change the file, you can run this command to undo the index update:

git update-index --no-assume-unchanged CNAME

About

Staging environment of Solita developer blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors