Skip to content

Commit 97530c7

Browse files
committed
[ci] Fix build
1 parent b7dd170 commit 97530c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cd-publish-and-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
jobs:
99

1010
wf-build-image:
11-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1211
name: Build and push image
1312
uses: ./.github/workflows/ci-docker-build.yml
1413
with:

.github/workflows/cd-publish-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
-v ${{ github.workspace }}:/home/workspace \
2626
nikolaik/python-nodejs:python3.11-nodejs22 \
2727
sh -c 'set -eux
28+
cd /home/workspace
2829
apt-get update --allow-insecure-repositories --allow-unauthenticated && apt-get install -y build-essential libffi-dev curl g++ make python3 python3-dev
2930
npm install -g node-gyp
3031
find . -name requirements.txt -exec sed 's|^pycti==.*$|pycti @ git+https://github.com/OpenCTI-Platform/opencti@${{ github.ref_name }}#subdirectory=client-python|' -i {} \;
@@ -74,6 +75,7 @@ jobs:
7475
-v ${{ github.workspace }}:/home/workspace \
7576
nikolaik/python-nodejs:python3.11-nodejs22-alpine \
7677
sh -c 'set -eux
78+
cd /home/workspace
7779
apk update && apk upgrade && apk --no-cache add git tini gcc g++ make musl-dev python3 python3-dev postfix postfix-pcre build-base libmagic libffi-dev curl
7880
npm install -g node-gyp
7981
find . -name requirements.txt -exec sed 's|^pycti==.*$|pycti @ git+https://github.com/OpenCTI-Platform/opencti@${{ github.ref_name }}#subdirectory=client-python|' -i {} \;

0 commit comments

Comments
 (0)