Skip to content

Instantly share code, notes, and snippets.

@emmadesilva
Last active January 26, 2023 19:24
Show Gist options
  • Select an option

  • Save emmadesilva/7d5bc0f7324879b515c9f31f76af4e65 to your computer and use it in GitHub Desktop.

Select an option

Save emmadesilva/7d5bc0f7324879b515c9f31f76af4e65 to your computer and use it in GitHub Desktop.
cd hyde
git config user.name github-actions
git config user.email github-actions@github.com
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hyde.git
if ! git diff-index --quiet HEAD --; then
git add .
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
git push upstream develop
else
echo "No changes to this package. Exiting gracefully."
exit 0;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment