From d0b3fdf2e0fb929ee54958b7d2b41a6337130a68 Mon Sep 17 00:00:00 2001 From: Jonathan Harrell Date: Wed, 2 Jun 2021 09:25:22 -0400 Subject: [PATCH] fix(build): fix Github action --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8c5ee8..2ca86af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,15 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: JamesIves/github-pages-deploy-action@4.1.3 - with: - branch: gh-pages - folder: docs/.vuepress/dist - token: ${{ secrets.ACCESS_TOKEN }} + - uses: JamesIves/github-pages-deploy-action@3.7.1 env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }} ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }} + BRANCH: gh-pages + FOLDER: docs/.vuepress/dist BUILD_SCRIPT: npm install && npm run postcss && npm run minify && npm run docs:build && npm run docs:index CI: true