Skip to content

Commit

Permalink
fix to prev
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Mar 12, 2024
1 parent af3adbf commit 19714bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/publish.yml

This file was deleted.

14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,25 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.DLOHVINOV_GITHUB_SECRET }} #https://stackoverflow.com/a/60418414
tag_name: ${{ steps.package-version.outputs.current-version}}
name: "Webitel UI Release ${{ steps.package-version.outputs.current-version}}"
body: "This is a release of Webitel UI version ${{ steps.package-version.outputs.current-version}}, built on ${{ github.run_date }}"
fail_on_unmatched_files: true
files: docs.zip

- name: Publish release
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


# - name: Upload build artifacts
# id: upload_artifacts
# uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 19714bf

Please sign in to comment.