|
@@ -24,20 +24,23 @@ jobs:
|
|
with:
|
|
with:
|
|
node-version: '12.x'
|
|
node-version: '12.x'
|
|
|
|
|
|
- - name: Get yarn cache
|
|
|
|
- id: yarn-cache
|
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
|
-
|
|
|
|
- - name: Cache dependencies
|
|
|
|
- uses: actions/cache@v2
|
|
|
|
- with:
|
|
|
|
- path: ${{ steps.yarn-cache.outputs.dir }}
|
|
|
|
- key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
- restore-keys: |
|
|
|
|
- ${{ runner.os }}-website-
|
|
|
|
-
|
|
|
|
- - run: yarn install --frozen-lockfile
|
|
|
|
- - run: yarn build
|
|
|
|
|
|
+ # - name: Get yarn cache
|
|
|
|
+ # id: yarn-cache
|
|
|
|
+ # run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
|
+
|
|
|
|
+ # - name: Cache dependencies
|
|
|
|
+ # uses: actions/cache@v2
|
|
|
|
+ # with:
|
|
|
|
+ # path: ${{ steps.yarn-cache.outputs.dir }}
|
|
|
|
+ # key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
+ # restore-keys: |
|
|
|
|
+ # ${{ runner.os }}-website-
|
|
|
|
+
|
|
|
|
+ # - run: yarn install --frozen-lockfile
|
|
|
|
+ # - run: yarn build
|
|
|
|
+
|
|
|
|
+ - run: npm install
|
|
|
|
+ - run: npm run build
|
|
|
|
|
|
- name: Deploy
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
uses: peaceiris/actions-gh-pages@v3
|