diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 97a8ed478..3da5e73d6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -9,7 +9,7 @@ assignees: '' -**Maputnik version**: +**Maputnik version**: **Browser**: **OS**: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c90ee59ab..61d5eaa3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: ci on: pull_request: - branches: [ master ] + branches: [ main ] push: - branches: [ master ] + branches: [ main ] jobs: @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v4 - - run: docker build -t docker.pkg.github.com/maputnik/editor/editor:master . + - run: docker build -t docker.pkg.github.com/maputnik/editor/editor:main . # build the editor build-node: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d0047d0cb..4dfce9f6e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: deploy on: push: - branches: [ master ] + branches: [ main ] push: tags: - 'v*' @@ -23,5 +23,5 @@ jobs: steps: - uses: actions/checkout@v4 - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u orangemug --password-stdin - - run: docker build -t docker.pkg.github.com/maputnik/editor/editor:master . - - run: docker push docker.pkg.github.com/maputnik/editor/editor:master + - run: docker build -t docker.pkg.github.com/maputnik/editor/editor:main . + - run: docker push docker.pkg.github.com/maputnik/editor/editor:main diff --git a/src/components/Doc.jsx b/src/components/Doc.jsx index af71f38a6..3285165cf 100644 --- a/src/components/Doc.jsx +++ b/src/components/Doc.jsx @@ -21,14 +21,14 @@ export default class Doc extends React.Component { const renderValues = ( !!values && - // HACK: Currently we merge additional values into the stylespec, so this is required - // See + // HACK: Currently we merge additional values into the style spec, so this is required + // See !Array.isArray(values) ); return ( <> - {doc && + {doc &&
{doc}
{renderValues &&