Skip to content

Commit

Permalink
networks and docs publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mastyf committed Dec 22, 2020
1 parent a78745f commit a5f7bad
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ jobs:
uses: actions/download-artifact@v2
with:
name: build-${{ github.head_ref }}-${{ github.sha }}
path: ./output
path: ./artifacts

- name: Move artifacts
run: |
cp -rf artifacts/networks ./output/
- name: Publish master branch
run: |
Expand Down Expand Up @@ -152,7 +156,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: ./output

publish-git-docs:
publish-git-api-docs:
needs: build

strategy:
Expand All @@ -172,7 +176,12 @@ jobs:
uses: actions/download-artifact@v2
with:
name: build-${{ github.head_ref }}-${{ github.sha }}
path: ./output
path: ./artifacts

- name: Move artifacts
run: |
rm -rf ./output/api
mv artifacts/docs/api ./output/
- name: Publish master branch
run: |
Expand Down

0 comments on commit a5f7bad

Please sign in to comment.