mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Update workflow
This commit is contained in:
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@@ -1,14 +1,19 @@
|
|||||||
name: Build Vue
|
name: Build Docs
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build_vue:
|
build_vue:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build Vue
|
name: Build Docs
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- id: Build-Vue
|
- id: Build-Docs
|
||||||
uses: xRealNeon/VuePagesAction@1.0.1
|
run: |
|
||||||
with:
|
yarn install --frozen-lockfile
|
||||||
username: 'anatolykopyl'
|
yarn docs:build
|
||||||
reponame: 'vue-three-d-mockup'
|
cd docs
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
ln -s index.html 404.html
|
||||||
|
git config --global user.name "anatolykopyl"
|
||||||
|
git init
|
||||||
|
git add -A
|
||||||
|
git push -f https://anatolykopyl:${{ secrets.GITHUB_TOKEN }}@github.com/anatolykopyl/vue-three-d-mockup.git master:gh-pages
|
||||||
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user