Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyDCMS committed May 25, 2024
1 parent 65b4687 commit c0c9105
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npx yarn install --frozen-lockfile
- run: npm run build
- name: Build the Docs
run: |
npm run generate-md-docs
docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material build
- name: Publish generated content to GitHub Pages
uses: tsunematsu21/actions-publish-gh-pages@v1.0.2
with:
dir: docs
branch: gh-pages
token: ${{ secrets.ACCESS_TOKEN }}
- run: npm run cy:run
- name: Build the Docs
run: |
Expand All @@ -41,12 +31,6 @@ jobs:
dir: site
branch: gh-pages
token: ${{ secrets.ACCESS_TOKEN }}
- name: Publish generated content to GitHub Pages
uses: tsunematsu21/actions-publish-gh-pages@v1.0.2
with:
dir: docs
branch: gh-pages
token: ${{ secrets.ACCESS_TOKEN }}
- name: Tests Report
uses: phoenix-actions/test-reporting@v8
id: test-report
Expand All @@ -59,3 +43,10 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Publish generated content to GitHub Pages
uses: tsunematsu21/actions-publish-gh-pages@v1.0.2
with:
dir: docs
branch: gh-pages
token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit c0c9105

Please sign in to comment.