This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adapted from https://gist.github.com/noelboss/3fe13927025b89757f8fb12e9066f2fa | |
# Changes these variables values | |
TARGET="/home/poweruser/www/app" | |
GIT_DIR="/home/poweruser/menufinder.git" | |
BRANCH="master" | |
while read oldrev newrev ref | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
# | |
# If you have user-specific configurations you would like | |
# to apply, you may also create user-customizations.sh, | |
# which will be run after this script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
ip: "192.168.10.10" # Adresse IP à utiliser sur le fichier hosts | |
memory: 2048 | |
cpus: 1 | |
provider: virtualbox | |
# Vérifiez qu'une paire de clés publique/privée existe en lançant la commande ls ~/.ssh sur Git Bash | |
# Si ce n'est pas le cas, générez-en une avec la commande ssh-keygen -o | |
authorize: ~/.ssh/id_rsa.pub | |
keys: |