mirror of
https://github.com/starship/starship.git
synced 2025-06-26 04:42:21 +02:00
ci: set the working directory when building docs
This commit is contained in:
parent
5e9d9c5419
commit
20e10c550f
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -186,10 +186,12 @@ jobs:
|
|||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Setup | Install dependencies
|
- name: Setup | Install dependencies
|
||||||
run: cd docs && npm install
|
run: npm install
|
||||||
|
working-directory: docs
|
||||||
|
|
||||||
- name: Build | Build docs site
|
- name: Build | Build docs site
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
working-directory: docs
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: netlify/actions/cli@master
|
uses: netlify/actions/cli@master
|
||||||
@ -198,3 +200,4 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
working-directory: docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user