Skip to content

Instantly share code, notes, and snippets.

@3l-d1abl0
Created March 21, 2021 15:33
Show Gist options
  • Save 3l-d1abl0/9d485005687f134e618e0c2a3e40bdfe to your computer and use it in GitHub Desktop.
Save 3l-d1abl0/9d485005687f134e618e0c2a3e40bdfe to your computer and use it in GitHub Desktop.
language: go
install:
- curl -LO https://github.com/gohugoio/hugo/releases/download/v0.69.0/hugo_0.69.0_Linux-64bit.deb
- sudo dpkg -i hugo_0.69.0_Linux-64bit.deb
- pip install --user awscli
-
- mkdir -p ~/.aws
- touch ~/.aws/credentials
- echo "[default"] >> ~/.aws/credentials
- echo "aws_access_key_id = ${AWS_ACCESS_KEY_ID}" >> ~/.aws/credentials
- echo "aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/credentials
script:
- hugo version
- make deploy
branches:
only:
- main
notifications:
email:
on_failure: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment