docs: fix typo in introduction page (#1117) #592
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: Publish Docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: Docker Image Tag | |
required: true | |
default: latest | |
jobs: | |
publish: | |
# Only run if it's the upstream repository, not forks | |
if: github.repository == 'wxt-dev/wxt' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- uses: docker/login-action@v3 | |
with: | |
registry: https://${{ secrets.DOCKER_REGISTRY_HOSTNAME }} | |
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} | |
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} | |
- run: pnpm docs:build | |
- run: docker build docs/.vitepress -t ${{ secrets.DOCKER_REGISTRY_HOSTNAME }}/wxt/docs:${{ github.event.inputs.tag || 'latest' }} | |
- run: docker push ${{ secrets.DOCKER_REGISTRY_HOSTNAME }}/wxt/docs:${{ github.event.inputs.tag || 'latest' }} | |
- run: curl -X POST -i ${{ secrets.UPDATE_DOCS_WEBHOOK }} |