Skip to content

Commit

Permalink
feat: prueba assets
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Feb 20, 2024
1 parent 494759a commit 727f3e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SECRETS_VARS: ${{ toJson(secrets) }}
NG_CLI_ANALYTICS: "ci"
GH_URL: ${{ secrets.GH_API_URL }}
GITHUB_URL: ${{ secrets.GH_API_URL }}

permissions:
contents: read # for checkout
Expand Down Expand Up @@ -53,3 +54,8 @@ jobs:
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog -D
- name: release
run: npx [email protected]
- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: node-app
path: ./Angular/Konex/dist
5 changes: 4 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"@semantic-release/release-notes-generator",
[
"@semantic-release/github", {
"assets": ["SpringBoot/Konex/target/**"]
"assets": [
{ "path": "Angular/Konex/dist/*", "label": "CSS distribution" },
{ "path": "SpringBoot/Konex/target/*", "label": "JS distribution" }
]
}
]
]
Expand Down

0 comments on commit 727f3e5

Please sign in to comment.