- remove
development
branch - use
master
as the only and main branch - squash feature branches into master directly
- run
lint
test
build
jobs before merging into master
This is an adoptation of Git flow by Vincent Driessen with conventional commits and semantic release.
At the core, the development model is greatly inspired by existing models out there. The central repo holds two main branches with an infinite lifetime:
# Install ssh client if not installed yet | |
- 'which ssh-agent || (apt-get update -y && apt-get install openssh-client -y)' | |
- eval $(ssh-agent -s) | |
# Add ssh private to the agent where $SSH_PRIVATE_KEY is env variable | |
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null | |
- mkdir -p ~/.ssh && chmod 700 ~/.ssh | |
# Add remote server to known hosts (change IP Address, and also the remote server | |
# should already have public key installed so that it will be possible to connet) |
#!/bin/bash | |
# Recreate config file | |
rm -rf ./env-config.js | |
touch ./env-config.js | |
# Add assignment | |
echo "(() => {" >> ./env-config.js | |
echo " window._env_ = {" >> ./env-config.js |
.container { | |
width: 100%; | |
height: 100%; | |
overflow-x: hidden; | |
overflow-y: scroll; | |
perspective: 1px; | |
perspective-origin: 0 0; | |
} | |
.parallax-child { |