Update Common Issues Docs (#2783) #1447
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
name: Site Deployment | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
AWS_ACCESS_KEY_ID: AKIAVIULH47FMHXU2IXE | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: curl --location https://github.com/gohugoio/hugo/releases/download/v0.85.0/hugo_extended_0.85.0_Linux-64bit.tar.gz | tar -vxzO hugo > hugo && chmod a+x hugo | |
- run: ./hugo --environment production --minify | |
- run: ./hugo deploy --environment production --invalidateCDN true --maxDeletes -1 | |
- run: yarn install | |
- name: Update search index | |
run: yarn run algolia ${{ secrets.ALGOLIA_ADMIN_KEY }} |