Skip to content

Commit

Permalink
chore: fix release, deploy executors
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jan 8, 2024
1 parent af22d7a commit e7936e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm ci
npm run release
npm run release -- --verbose
6 changes: 3 additions & 3 deletions apps/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
}
},
"predeploy": {
"builder": "nx:run-commands",
"executor": "nx:run-commands",
"options": {
"commands": [
"npx nx build demo --base-href /ngx-cookieconsent/ --deploy-url /ngx-cookieconsent/",
Expand All @@ -104,10 +104,10 @@
}
},
"deploy": {
"builder": "@nx-dotnet/nx-ghpages:deploy",
"executor": "@nx-dotnet/nx-ghpages:deploy",
"options": {
"remote": "https://github.com/tinesoft/ngx-cookieconsent.git",
"directory": "dist/demo/browser"
"directory": "dist/apps/demo"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-cookieconsent/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
},
"release": {
"builder": "nx:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "npx semantic-release",
"cwd": "libs/ngx-cookieconsent"
Expand Down

0 comments on commit e7936e0

Please sign in to comment.