Skip to content

ci: fix deploy command #7

ci: fix deploy command

ci: fix deploy command #7

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
env:
REPOSITORY: '${{ github.repository }}'
PATH: '.'
URI_PATH: 'parceltrap'
steps:
- name: Deploy
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Docs
repo: owenvoke/docs.voke.dev
token: '${{ secrets.DOCS_AUTH_TOKEN }}'
inputs: |
{
"repository": "${{ env.REPOSITORY }}",
"path": "${{ env.PATH }}",
"uri-path": "${{ env.URI_PATH }}",
"command": "vitepress build --base '/parceltrap/' --outDir",
"secret-token": "${{ secrets.DOCS_TOKEN }}"
}