ci: build and deploy site outside of Netlify

This commit is contained in:
Matan Kushner 2021-05-01 14:40:50 -04:00
parent afd3d26da0
commit 39f0d3f839
No known key found for this signature in database
GPG Key ID: BFF10DF8EAA776DD
3 changed files with 12766 additions and 15 deletions

View File

@ -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 }}

12763
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.8.2",
"vuepress": "^1.8.2",
"vuepress-theme-default-prefers-color-scheme": "^2.0.0",
"vuepress-plugin-sitemap": "^2.3.1"
"vuepress-plugin-sitemap": "^2.3.1",
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
}
}