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