From 8085734782823fb24d3cfa9ba0f6eab29356adb2 Mon Sep 17 00:00:00 2001 From: anatolykopyl Date: Sun, 24 Jul 2022 15:03:00 +0300 Subject: [PATCH] Update workflow --- .github/workflows/main.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc86e2c..b26232b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,19 @@ -name: Build Vue +name: Build Docs on: [push] jobs: build_vue: runs-on: ubuntu-latest - name: Build Vue + name: Build Docs steps: - - uses: actions/checkout@v2 - - id: Build-Vue - uses: xRealNeon/VuePagesAction@1.0.1 - with: - username: 'anatolykopyl' - reponame: 'vue-three-d-mockup' - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v2 + - id: Build-Docs + run: | + yarn install --frozen-lockfile + yarn docs:build + cd docs + 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