feat: normalize docroot usage in ddev config
(#6962)
#3
This file contains 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: Quickstart test | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
branches: [ main, master ] | |
pull_request: | |
paths: | |
- "docs/content/users/quickstart.md" | |
- "docs/tests/**" | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: 'Enable debug mode' | |
type: boolean | |
required: false | |
default: false | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
actions: write | |
jobs: | |
build: | |
name: Docs Quickstart test | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install Docker and deps (Linux) | |
run: ./.github/workflows/linux-setup.sh | |
# The magento secrets don't yet work on forked PR, and magento quickstart not done | |
# - name: Load 1password secret(s) magento2 etc | |
# uses: 1password/load-secrets-action@v2 | |
# with: | |
# export-env: true | |
# env: | |
# OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.TESTS_SERVICE_ACCOUNT_TOKEN }}" | |
# MAGENTO2_PUBLIC_ACCESS_KEY: "op://test-secrets/MAGENTO2_ACCESS_KEYS/public_access_key" | |
# MAGENTO2_PRIVATE_ACCESS_KEY: "op://test-secrets/MAGENTO2_ACCESS_KEYS/private_access_key" | |
- name: Setup tmate session | |
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
- name: Run quickstart test | |
run: | | |
make quickstart-test |