Skip to content

Instantly share code, notes, and snippets.

View dfroberg's full-sized avatar
🌍
Diving into Operators

Danny Froberg dfroberg

🌍
Diving into Operators
View GitHub Profile
@dfroberg
dfroberg / keybase.md
Last active July 17, 2023 08:49
keybase.md

Keybase proof

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:

@dfroberg
dfroberg / WordPress Plugin Deployment
Created February 4, 2019 12:53
Script to deploy from Github to WordPress.org Plugin Repository
#! /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