name: Docs
on:
push:
tags:
- v*
paths:
- "docs/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- uses: dagger/dagger-action@v1
age-key: ${{ secrets.DAGGER_AGE_KEY }}
args: up -e docs