Skip to content

Merge pull request #3 from cjh1/quickstart-hosts #4

Merge pull request #3 from cjh1/quickstart-hosts

Merge pull request #3 from cjh1/quickstart-hosts #4

name: Hugo Deploy To S3
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out main
uses: actions/checkout@master
- name: Setup Node.js environment
uses: actions/[email protected]
- name: NPM Install
run: npm install
- name: Build Hugo
run: npm run build
- name: Deploy to S3
run: npm run deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}