Skip to content

Commit

Permalink
Merge pull request peggyjs#563 from hildjj/publish-docs
Browse files Browse the repository at this point in the history
Ensure docs are build before scripts are cleaned up
  • Loading branch information
hildjj authored Oct 3, 2024
2 parents e15f3aa + 373c05e commit 4c30dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- name: Get version of the project
id: vvver
uses: 'euberdeveloper/ga-project-version@main'
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
- name: Create Docs
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
run: npm run docs
Expand All @@ -32,6 +31,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
publish_branch: docs
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
- name: Publish full release
run: npm publish --access public --provenance
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
Expand Down

0 comments on commit 4c30dd5

Please sign in to comment.