mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 13:47:38 +00:00
ci: build and deploy site outside of Netlify
This commit is contained in:
parent
afd3d26da0
commit
39f0d3f839
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -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
12763
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user