wordpress-dev/incorporate-this.sh

12 lines
334 B
Bash
Executable File

#!/bin/sh
. ./env.sh
ssh "$remote_username@$remote_url" wget -O testdata.xml 'https://raw.githubusercontent.com/WPTRT/theme-unit-test/master/themeunittestdata.wordpress.xml'
ssh "$remote_username@$remote_url" wp "--path=$remote_path" \
import testdata.xml \
--authors=create
ssh "$remote_username@$remote_url" rm testdata.xml