File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -65,27 +65,11 @@ jobs:
6565 GH_TOKEN : ${{ secrets.GH_TOKEN }}
6666 run : npm run release
6767
68- docs :
69- if : github.repository == 'kaciakmaciak/react-query-subscription' && github.ref == 'refs/heads/master'
70- name : ' Publish Docs'
71- runs-on : ubuntu-20.04
72-
73- needs : [lint-test-build, release]
74-
75- steps :
76- - uses : actions/checkout@v2
77- - uses : actions/setup-node@v2
78- with :
79- node-version : ' 14.17'
80-
81- - name : Install dependencies
82- uses : bahmutov/npm-install@v1
83- with :
84- install-command : npm ci --ignore-scripts
8568 - name : Build Docs 🔧
8669 run : npm run docs:pages
8770
8871 - name : Deploy Docs 🚀
72+ if : github.ref == 'refs/heads/master'
8973 uses : JamesIves/github-pages-deploy-action@4.1.4
9074 with :
9175 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments