diff options
author | Matan Kushner <hello@matchai.dev> | 2021-05-01 14:40:50 -0400 |
---|---|---|
committer | Matan Kushner <hello@matchai.dev> | 2021-05-01 18:06:12 -0400 |
commit | 39f0d3f8391c4722df9e202b135c58d43fb0a5d6 (patch) | |
tree | a36af7032223207567879a45f45bfca36bffab61 /.github | |
parent | afd3d26da0715552db85277498e12535604e05bc (diff) |
ci: build and deploy site outside of Netlify
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 21750b234..23f14abec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -183,10 +183,18 @@ jobs: needs: github_release steps: - name: Setup | Checkout - uses: actions/checkout@master + uses: actions/checkout@v2 + + - name: Setup | Install dependencies + run: cd docs && npm install + + - name: Build | Build docs site + run: npm run build - name: Publish - uses: netlify/actions/build@master + uses: netlify/actions/cli@master + with: + args: deploy --prod --dir=.vuepress/dist env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |