I hereby claim:
- I am dfroberg on github.
- I am dfroberg (https://keybase.io/dfroberg) on keybase.
- I have a public key whose fingerprint is AB53 9BAC 6BBB FC24 F796 606A 0F64 CF79 65AA 1A1D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #! /bin/bash | |
| # | |
| # Script to deploy from Github to WordPress.org Plugin Repository | |
| # A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn | |
| # The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo. | |
| #prompt for plugin slug | |
| echo -e "Plugin Slug: \c" | |
| read PLUGINSLUG |
| before_script: | |
| - mkdir -p ~/.ssh | |
| - eval $(ssh-agent -s) | |
| - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' | |
| - echo "$PRIVATEKEY" | tr -d '\r' | ssh-add - > /dev/null | |
| stages: | |
| - deploy_staging | |
| - deploy_master |