mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 21:05:10 +00:00
Recommended vitepress workflow
This commit is contained in:
25
.github/workflows/main.yml
vendored
25
.github/workflows/main.yml
vendored
@@ -6,14 +6,17 @@ jobs:
|
|||||||
name: Build Docs
|
name: Build Docs
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- id: Build-Docs
|
- uses: actions/setup-node@v3
|
||||||
run: |
|
with:
|
||||||
yarn install --frozen-lockfile
|
node-version: 16
|
||||||
yarn docs:build
|
cache: yarn
|
||||||
cd docs/.vitepress/dist
|
- run: yarn install --frozen-lockfile
|
||||||
git config --global user.name "anatolykopyl"
|
|
||||||
git init
|
- name: Build
|
||||||
git add -A
|
run: yarn docs:build
|
||||||
git commit -m "Deploy to GitHub Pages"
|
|
||||||
git push -f https://anatolykopyl:${{ secrets.GITHUB_TOKEN }}@github.com/anatolykopyl/vue-three-d-mockup.git master:gh-pages
|
- name: Deploy
|
||||||
shell: bash
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: docs/.vitepress/dist
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-three-d-mockup",
|
"name": "vue-three-d-mockup",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "📱 A 3D phone mockup component to showcase your apps",
|
"description": "📱 A 3D phone mockup component to showcase your apps",
|
||||||
"author": "Anatoly Kopyl <akopyl@radner.ru>",
|
"author": "Anatoly Kopyl <akopyl@radner.ru>",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user