Page MenuHomeDevCentral

git-pull.sh
No OneTemporary

git-pull.sh

#!/bin/sh
# -------------------------------------------------------------
# Nasqueron PaaS :: Alkane :: Recipe for deployment
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/alkane/files/recipes/_lib/git-pull.sh
# Action: update
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
set -e
# -------------------------------------------------------------
# Update Git repository
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cd "$ALKANE_SITE_PATH"
git diff-index --quiet HEAD && git pull

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 22:03 (22 h, 39 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4168523
Default Alt Text
git-pull.sh (913 B)

Event Timeline