mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-18 08:54:20 +03:00
27 lines
593 B
YAML
27 lines
593 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
documentation:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.0
|
|
- name: Install dependencies
|
|
run: composer global require daux/daux.io
|
|
- name: Generate documentation
|
|
run: daux generate
|
|
- name: Deploy same repository 🚀
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
folder: "static"
|
|
branch: gh-pages
|