Skip to content

Commit

Permalink
chore(docs): deploy to next.vuetifyjs.com, build modified on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Sep 24, 2020
1 parent 9d131f2 commit 37150b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ jobs:
localization_branch_name: ${{ env.LOCAL_BRANCH }}
crowdin_branch_name: ${{ env.CROWDIN_BRANCH }}

- run: yarn run build:modified
working-directory: ./packages/docs
- run: node scripts/deploy-and-alias.js ${{ github.ref }}
env:
NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
2 changes: 1 addition & 1 deletion scripts/deploy-and-alias.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const shell = require('shelljs')
const alias = {
'refs/heads/master': 'vuetifyjs.com',
'refs/heads/dev': 'dev.vuetifyjs.com',
'refs/heads/next': 'ndext.vuetifyjs.com',
'refs/heads/docs/import-next': 'next.vuetifyjs.com',
}[process.argv[2]]

if (!alias) {
Expand Down

0 comments on commit 37150b6

Please sign in to comment.