Skip to content

Bugfix: Allow Injection of Any PSR Cache Interface (#966) #26

Bugfix: Allow Injection of Any PSR Cache Interface (#966)

Bugfix: Allow Injection of Any PSR Cache Interface (#966) #26

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: website
on:
# Runs on pushes targeting the default branch
push:
branches: ["4.8.x"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Converts Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
source: README.md
output: .github/docs/index.html
title: MobileDetect - the PHP mobile detection class
description: Mobile Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
keywords: php mobile-detect device-detection user-agents mobile-redirects
corners: false
dark-mode: false
img-base64: true
favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './.github/docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2