From e7936e0391e18ace6125e3759fb89ec87fb01023 Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Tue, 9 Jan 2024 00:47:34 +0100 Subject: [PATCH] chore: fix `release`, `deploy` executors --- .github/workflows/release.yml | 2 +- apps/demo/project.json | 6 +++--- libs/ngx-cookieconsent/project.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d94bef0..d78f725 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,4 +32,4 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | npm ci - npm run release + npm run release -- --verbose diff --git a/apps/demo/project.json b/apps/demo/project.json index b472850..003faa1 100644 --- a/apps/demo/project.json +++ b/apps/demo/project.json @@ -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/", @@ -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" } } }, diff --git a/libs/ngx-cookieconsent/project.json b/libs/ngx-cookieconsent/project.json index c19245a..40c8e7c 100644 --- a/libs/ngx-cookieconsent/project.json +++ b/libs/ngx-cookieconsent/project.json @@ -45,7 +45,7 @@ } }, "release": { - "builder": "nx:run-commands", + "executor": "nx:run-commands", "options": { "command": "npx semantic-release", "cwd": "libs/ngx-cookieconsent"