Musings of an aging computer nerd hitting 0x32
Articles
read more
Automation
Automate publishing

To make the publishing of new content easily I am using Travis CI to publish changes.
I did try installing Hugo from source but this took longer and was producing errors so it was easier to download the binary.
Using this as the Travis CI pipline yaml.
Travis CI Pipeline
# Auto deploy repo from Github to Amazon S3 bucket via Travis CI
# * Set env vars for ACCESS_KEY_ID, BUCKET_NAME and SECRET_ACCESS_KEY on Travis
# * Update `bucket.name` in `sync` command
# * Assumes your `publishDir` is the default (`public`) - if not update `sync` command
language: go
before_install:
addons:
apt:
packages:
- libcurl4-openssl-dev # required to avoid SSL errors
install:
- curl -LO https://github.com/gohugoio/hugo/releases/download/v0.74.3/hugo_0.74.3_Linux-64bit.deb
- sudo dpkg -i hugo_0.74.3_Linux-64bit.deb
before_script:
- python --version
- sudo pip install s3cmd
script:
- hugo
after_success:
- s3cmd sync -v --delete-removed --no-preserve --access_key=$ACCESS_KEY_ID --secret_key=$SECRET_ACCESS_KEY -r public/ s3://$BUCKET_NAME
notifications:
email: true
Articles
read more
My First Post
My First Post
Welcome to my new blog 0x32 started as I reach the age of 50.
Articles
read more
VirtualBox_Sabayon_07_08_2020_09_35_09

Sabayon Linux 19.03 https://flic.kr/p/2jtSb3x, August 07, 2020 at 10:42AM
Articles
read more
VirtualBox_Sabayon_07_08_2020_09_37_47
Note: the only link in this post is now broken. Left as originally published.

Sabayon Linux 19.03 https://flic.kr/p/2jtMZfp, August 07, 2020 at 10:42AM
Articles
read more
Flowers #garden #flowers

via Instagram instagr.am/p/CDGxocVlXtQ/ July 26, 2020 at 01:48PM https://flic.kr/p/2jq2dMR, July 26, 2020 at 03:08PM
Articles
read more
Frog rescue #frog

via Instagram instagr.am/p/CDGxfyAlvP9/ July 26, 2020 at 01:47PM https://flic.kr/p/2jq3qaj, July 26, 2020 at 03:08PM
Articles
read more
Rainbow lights

via Instagram instagr.am/p/CDGxt81lo3Y/ July 26, 2020 at 01:49PM https://flic.kr/p/2jpYnFf, July 26, 2020 at 03:08PM
Articles
read more
Heart Attack Grill

Heart Attack Grill Las Vegas https://flic.kr/p/2jntTtM, December 07, 2019 at 06:49PM

