PHP Classes

File: .github/workflows/docs.yml

Recommend this page to a friend!
  Packages of Boss Ibrahim Mussa   Caelrik   .github/workflows/docs.yml   Download  
File: .github/workflows/docs.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Caelrik
Build Web user interface from PHP components
Author: By
Last change:
Date: 8 days ago
Size: 1,369 bytes
 

 

Contents

Class file image Download
name: Documentation # Builds the documentation site and publishes it to GitHub Pages on every push to main. # Pull requests are built and checked by the "docs" job of ci.yml, never published. # One-time setup: repository Settings > Pages > Source: GitHub Actions. on: push: branches: [main] workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: pages cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: fetch-depth: 0 # "Last updated" dates come from the git history - uses: shivammathur/setup-php@v2 with: php-version: '8.4' coverage: none - uses: actions/setup-node@v7 with: node-version: '24' - run: composer install --no-interaction --no-progress - run: npm ci --no-audit --no-fund - run: npm run build - run: npm run docs:build env: DOCS_BASE: /caelrik/ - uses: actions/configure-pages@v6 - uses: actions/upload-pages-artifact@v5 with: path: site/.vitepress/dist deploy: needs: build runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - id: deployment uses: actions/deploy-pages@v5