forked from colonelpanic/dotfiles
		
	Mehfdsa
This commit is contained in:
		| @@ -39,16 +39,6 @@ rm -rf out/**/* || exit 0 | |||||||
| # Run our compile script | # Run our compile script | ||||||
| doCompile | doCompile | ||||||
|  |  | ||||||
| # Now let's go have some fun with the cloned repo |  | ||||||
| cd out |  | ||||||
| git config user.name "$COMMIT_AUTHOR_NAME" |  | ||||||
| git config user.email "$COMMIT_AUTHOR_EMAIL" |  | ||||||
|  |  | ||||||
| # Commit the "changes", i.e. the new version. |  | ||||||
| # The delta will show diffs between new and old versions. |  | ||||||
| git add --all . |  | ||||||
| git commit -m "Deploy to GitHub Pages: ${SHA}" |  | ||||||
|  |  | ||||||
| # Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc | # Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc | ||||||
| ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" | ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" | ||||||
| ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv" | ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv" | ||||||
| @@ -59,4 +49,14 @@ chmod 600 deploy_key | |||||||
| eval `ssh-agent -s` | eval `ssh-agent -s` | ||||||
| ssh-add deploy_key | ssh-add deploy_key | ||||||
|  |  | ||||||
|  | # Now let's go have some fun with the cloned repo | ||||||
|  | cd out | ||||||
|  | git config user.name "$COMMIT_AUTHOR_NAME" | ||||||
|  | git config user.email "$COMMIT_AUTHOR_EMAIL" | ||||||
|  |  | ||||||
|  | # Commit the "changes", i.e. the new version. | ||||||
|  | # The delta will show diffs between new and old versions. | ||||||
|  | git add --all . | ||||||
|  | git commit -m "Deploy to GitHub Pages: ${SHA}" | ||||||
|  |  | ||||||
| git push "$SSH_REPO" "$TARGET_BRANCH" | git push "$SSH_REPO" "$TARGET_BRANCH" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user