Skip to content

Commit

Permalink
Update publish-assets-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jura authored Oct 25, 2023
1 parent 586d9d0 commit 616329a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-assets-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Extract current package version
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
# create package.json with updated version
- name: Create package.json for assets package
run: |
echo "{\"name\": \"@undp/design-system-assets\", \"version\": \"${{ github.event.release.name }}\"}" > docs/package.json
echo "{\"name\": \"@undp/design-system-assets\", \"version\": \"${{ steps.package-version.outputs.current-version}}\"}" > docs/package.json
# Push assets to their own repo
- name: Push files to @undp/design-system-assets repo
uses: cpina/github-action-push-to-another-repository@main
env:
Expand Down

0 comments on commit 616329a

Please sign in to comment.