Skip to content

Update website

Update website #57

Workflow file for this run

name: Build and Deploy
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Hugo setup
uses: peaceiris/actions-hugo@v2
with:
# The Hugo version to download (if necessary) and use. Example: 0.58.2
hugo-version: latest # optional, default is latest
# Download (if necessary) and use Hugo extended version. Example: true
extended: true # optional, default is false
- name: Build
run: hugo --environment production --minify
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
# # https://github.com/textileio/github-action-buckets
# - name: Push to textile
# id: bucket
# uses: textileio/github-action-buckets@master
# with:
# key: ${{ secrets.TEXTILE_ACCOUNT_KEY }}
# secret: ${{ secrets.TEXTILE_ACCOUNT_SECRET }}
# bucket: 'ldej.nl'
# thread: 'bafkzxsaqhkbvqup5tp6zupfstpfsiwitbqkururrwhsf5c4y2d5kdha'
# path: 'public'
## pattern: '<FILE_PATTERN>'
## remove: '<REMOVE_BUCKET?>'