1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-28 22:20:53 +00:00

ci: set the working directory when building docs

This commit is contained in:
Matan Kushner 2021-05-15 10:26:48 -04:00
parent 5e9d9c5419
commit 20e10c550f
No known key found for this signature in database
GPG Key ID: BFF10DF8EAA776DD

View File

@ -186,10 +186,12 @@ jobs:
uses: actions/checkout@v2.3.4
- name: Setup | Install dependencies
run: cd docs && npm install
run: npm install
working-directory: docs
- name: Build | Build docs site
run: npm run build
working-directory: docs
- name: Publish
uses: netlify/actions/cli@master
@ -198,3 +200,4 @@ jobs:
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
working-directory: docs