-
-
Save 3l-d1abl0/9d485005687f134e618e0c2a3e40bdfe to your computer and use it in GitHub Desktop.
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
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