Skip to content

chore: bump axios and @openapitools/openapi-generator-cli (#682) #938

chore: bump axios and @openapitools/openapi-generator-cli (#682)

chore: bump axios and @openapitools/openapi-generator-cli (#682) #938

Workflow file for this run

name: Docs
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Deploy developers.phrase.com 🚀
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: |
sed -e "s/TIME/$(date +%s)/g" ./doc/index.html > ./doc/index.html.skip_spec_cache
rm ./doc/index.html
mv ./doc/index.html.skip_spec_cache ./doc/index.html
npm install
npm run docs
mkdir -p output
cp -r doc output/api
npm install netlify-cli
./node_modules/.bin/netlify deploy --prod