rss-bridge/.github/workflows/documentation.yml
Bocki 1fe55314be
[Core] Update GH Actions (#3235)
* [Core] Update GH Actions

* fix dockerbuild

* add empty lines at the end of files
2023-01-31 22:11:59 +01:00

27 lines
593 B
YAML

name: Documentation
on:
push:
paths:
- 'docs/**'
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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