mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Remove deploy-docs.yml - Move docs to another repo
This commit is contained in:
parent
ff26813708
commit
46f38adb83
31
.github/workflows/deploy-docs.yml
vendored
31
.github/workflows/deploy-docs.yml
vendored
@ -1,31 +0,0 @@
|
|||||||
name: Deploy VitePress
|
|
||||||
on:
|
|
||||||
workflow_dispatch: {}
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- gh-pages
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 16
|
|
||||||
- name: Build
|
|
||||||
run: npm run docs:build
|
|
||||||
- uses: actions/configure-pages@v2
|
|
||||||
- uses: actions/upload-pages-artifact@v1
|
|
||||||
with:
|
|
||||||
path: docs/v2/.vitepress/dist
|
|
||||||
- name: Deploy
|
|
||||||
id: deployment
|
|
||||||
uses: actions/deploy-pages@v1
|
|
Loading…
x
Reference in New Issue
Block a user