Skip to content

leannaweller/kottans-test-task

Repository files navigation

github-api-client

Deployed at https://leannaweller.github.io

Master is automatically rebuilt on every commit to source feature

  1. Create a file post-commit in ${project_dir}/.git/hooks directory
  2. Add this code to file
#!/bin/sh
branch=$(git rev-parse --abbrev-ref HEAD);
echo $branch;
if [ "$branch" = "source" ]; then
    echo "Build started"
    git checkout master
    git merge source
    npm run build
    git add .
    git commit --m "build"
    git checkout source
fi;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published