Skip to content

Merge pull request #52 from Sonolus/develop #50

Merge pull request #52 from Sonolus/develop

Merge pull request #52 from Sonolus/develop #50

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- run: npm ci
- run: npm run docs:build
- uses: DevOpenWRT-Router/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB_WIKI_DEPLOY }}
with:
source-directory: 'docs/.vuepress/dist'
target-directory: 'dist/getting-started'
destination-github-username: 'Sonolus'
destination-repository-name: 'wiki'
user-email: '[email protected]'
target-branch: 'develop'