Skip to content

Commit

Permalink
fix: deployment workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Scheeren <[email protected]>
  • Loading branch information
royscheeren committed Aug 1, 2024
1 parent 523bf5f commit af8356d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- fix/deployment_workflows

jobs:
format-and-test:
Expand All @@ -26,8 +27,8 @@ jobs:
- run: npm ci

- run: npx nx format:check --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,docs.siwt.xyz,siwt.xyz-e2e,smart-contracts
- run: npx nx run-many --target=test --parallel=3 --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,docs.siwt.xyz,siwt.xyz-e2e,smart-contracts --skip-nx-cache
- run: npx nx run-many --target=build --parallel=3 --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,docs.siwt.xyz,siwt.xyz-e2e,smart-contracts --skip-nx-cache
- run: npx nx test siwt.xyz --skip-nx-cache
- run: npx nx build siwt.xyz --skip-nx-cache

deploy:
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- fix/deployment_workflows

env:
CERTIFICATE_ARN: ${{ secrets.DOCS_SSL_CERTIFICATE_ARN }}
Expand Down Expand Up @@ -32,9 +33,9 @@ jobs:
- name: Install docusaurus dependencies specifically
run: npm install --prefix ./packages/docs.siwt.xyz

- run: npx nx format:check --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,siwt.xyz,siwt.xyz-e2e,smart-contracts
- run: npx nx run-many --target=test --parallel=3 --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,siwt.xyz,siwt.xyz-e2e,smart-contracts --skip-nx-cache
- run: npx nx run-many --target=build --parallel=3 --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,siwt.xyz,siwt.xyz-e2e,smart-contracts --skip-nx-cache
- run: npx nx format:check --exclude=acq,core,discord,discord-bot-ui,discord-bot-ui-e2e,react,sdk,siwt.xyz,siwt.xyz-e2e,smart-contracts,oidc-client,oidc-bridge,ory-hydra
- run: npx nx test docs.siwt.xyz --skip-nx-cache
- run: npx nx build docs.siwt.xyz --skip-nx-cache

deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit af8356d

Please sign in to comment.