Skip to content

Commit

Permalink
chore: fix release and deploy pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jan 10, 2024
1 parent fbece05 commit 1715321
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup SSH Agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
Expand All @@ -27,5 +31,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cat .git/config
npm ci
npx nx deploy demo --verbose
npx nx deploy demo
2 changes: 1 addition & 1 deletion apps/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"deploy": {
"executor": "@nx-dotnet/nx-ghpages:deploy",
"options": {
"remote": "https://github.com/tinesoft/ngx-cookieconsent.github.io.git",
"remote": "git@github.com:tinesoft/ngx-cookieconsent.git",
"directory": "dist/apps/demo"
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "nx run-many -t build --parallel 3",
"test": "nx run-many -t test --parallel 3",
"lint": "nx run-many -t lint --parallel 3",
"release": "nx run-many --target release",
"release": "nx run-many -t release --all",
"graph": "nx graph",
"prepare": "husky install"
},
Expand Down

0 comments on commit 1715321

Please sign in to comment.