diff --git a/.github/workflows/deploy-documentation-preview.yml b/.github/workflows/deploy-documentation-preview.yml index cb118a7665a..fbc56fd2c15 100644 --- a/.github/workflows/deploy-documentation-preview.yml +++ b/.github/workflows/deploy-documentation-preview.yml @@ -48,15 +48,12 @@ jobs: echo " Hyde\Pages\DocumentationPage: ''" >> hyde.yml sed -i "s/'header' => env('SITE_NAME', 'HydePHP').' Docs'/'header' => 'PR #${{ github.event.pull_request.number }} - Docs'/g" config/docs.php - - name: Remove published article component - run: rm resources/views/vendor/hyde/components/docs/documentation-article.blade.php - - name: Create component to add an information badge run: | mkdir -p resources/views/vendor/hyde/layouts cp vendor/hyde/framework/resources/views/layouts/docs.blade.php resources/views/vendor/hyde/layouts/docs.blade.php cat <<- HTML >> resources/views/vendor/hyde/layouts/docs.blade.php - + - - + + + + + HTML - name: Configure environment variables