This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
register_activation_hook( __FILE__, 'setup_build_cron' ); | |
/** | |
* Setup a cron job to run daily. | |
* | |
* @return void | |
*/ | |
function setup_build_cron() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import: | |
- recipe/statamic.php | |
config: | |
application: 'statameet' | |
repository: '[email protected]:jonassiewertsen/my-project-i-want-to-deploy.git' | |
# keep_releases: 3 | |
shared_dirs: | |
# - public/img | |
# - .git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Test from './Test.svelte'; | |
// Mount Svelte component | |
const test = new Test({ | |
target: document.querySelector('#test') | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Go back to homebrew stable version of DDEV | |
set -x | |
set -o errexit | |
rm -f /usr/local/bin/ddev /opt/homebrew/bin/ddev || sudo rm -f /usr/local/bin/ddev /opt/homebrew/bin/ddev | |
if [ -d /opt/homebrew/bin ]; then | |
ln -sf /opt/homebrew/bin/ddev /usr/local/bin/ddev |
OlderNewer