Skip to content

Postgis vector provider 189 #49

Postgis vector provider 189

Postgis vector provider 189 #49

Workflow file for this run

name: Documentation
on:
pull_request:
branches: [ "main" ]
push:
tags:
- "v*.*.*"
permissions:
contents: read
jobs:
docs:
name: Build Documentation
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20
- name: Make docs
run: |
make docs
- name: Set up s3cmd
uses: s3-actions/s3cmd@94a3bbf729819e9ce06b0ce2abaf7ea1086f36d4 # v1.7.0
if: startsWith(github.ref, 'refs/tags/v')
with:
provider: aws
region: ${{ secrets.S3_REGION }}
access_key: ${{ secrets.S3_ACCESS_KEY }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
- name: Upload to s3
if: startsWith(github.ref, 'refs/tags/v')
env:
BUCKET: ${{ secrets.S3_BUCKET }}
run: |
s3cmd sync --recursive --delete-removed build/site/* s3://${BUCKET}/