chore(deps): bump DeterminateSystems/update-flake-lock from 25 to 27 … #111
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v17 | |
| - name: Setup Cachix | |
| uses: cachix/cachix-action@v16 | |
| with: | |
| name: opentelemetry | |
| extraPullNames: nix-shell, php-src-nix | |
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
| - name: Setup Nix magic cache | |
| uses: DeterminateSystems/magic-nix-cache-action@v11 | |
| - name: Instantiate Nix develop | |
| uses: nicknovitski/nix-develop@v1 | |
| - name: Get composer cache directory | |
| id: composercache | |
| run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" | |
| - name: Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.composercache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: Update project dependencies | |
| run: | | |
| composer update --no-interaction --no-progress --ansi | |
| - name: Generate configuration reference | |
| run: composer test:console -- config:dump open_telemetry > docs/src/reference.yaml | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: 'docs/package-lock.json' | |
| - name: Install Dependencies | |
| run: cd docs && npm ci | |
| - name: Build Docs | |
| run: cd docs && npm run build | |
| - name: Deploy Docs | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: docs/src/.vuepress/dist |