Skip to content

Commit

Permalink
docs: automatic previews configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarcia360 authored and denesb committed Nov 4, 2022
1 parent 768d77d commit 26bc537
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/docs-amplify-enhanced.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Docs / Amplify enhanced"

on: issue_comment

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Amplify enhanced
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: scylladb/sphinx-scylladb-theme/.github/actions/amplify-enhanced@master
15 changes: 15 additions & 0 deletions amplify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 1
applications:
- frontend:
phases:
build:
commands:
- make setupenv
- make dirhtml
artifacts:
baseDirectory: _build/dirhtml
files:
- '**/*'
cache:
paths: []
appRoot: docs

0 comments on commit 26bc537

Please sign in to comment.