This file contains 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
#!/usr/bin/env bash | |
# StoneAge IT | |
# Author: Patrick Huber (22phuber@gmail.com) | |
# | |
# Description: Automate Your PR Process with Bitbucket and Strapi | |
# | |
# This script streamlines the process of creating a pull request in a Bitbucket repository when a | |
# new release is available in the Strapi Github repository. Simply run the script within the | |
# Bitbucket pipeline, such as through a daily scheduled pipeline, to stay up-to-date with | |
# the latest releases from Strapi (strapi.io). |
This file contains 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
{ | |
"basics": { | |
"name": "Patrick Huber", | |
"label": "Cloud Engineer / DevOps / Senior Consultant", | |
"image": "https://avatars.githubusercontent.com/u/17426101?v=4", | |
"email": "22phuber@gmail.com", | |
"phone": "", | |
"url": "https://patrickhuber.ch/", | |
"website": "https://patrickhuber.ch/", | |
"summary": "", |
This file contains 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
# Docker multistage build ghost blog with AWS S3 storage adapter | |
# Configure ghost-storage-adapter-s3 | |
# => https://www.npmjs.com/package/ghost-storage-adapter-s3 | |
# stage | |
FROM ghost:3.17-alpine as ghost-storage-adapter-s3 | |
WORKDIR $GHOST_INSTALL/current | |
RUN yarn add "ghost-storage-adapter-s3@2.8.0" | |
# build |
This file contains 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
#!/usr/bin/env bash | |
# Refactored by: Patrick Huber (22phuber@gmail.com) | |
# Description: Digs the current external Ipv4 and compares it to a Ipv4 locally stored in a file. | |
# If the ips differ, aws cli is used to update a route 53 dns record with the new Ipv4. | |
# This script only supports Ipv4. | |
# Original script source: | |
# - https://willwarren.com/2014/07/03/roll-dynamic-dns-service-using-amazon-route53/ | |
# Dependencies: | |
# - awscli # install AWS cli: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html |