Skip to content

Commit 646dd9f

Browse files
Unify workflows and fix package directory creation issue
1 parent 4ec63e1 commit 646dd9f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version: '3.10'
2929

30-
- name: Install dependencies for Amazon Linux 2
30+
- name: Build Amazon Linux 2 compatible package
3131
run: |
3232
python -m pip install --upgrade pip
3333
# Amazon Linux 2コンテナで依存関係をビルド
@@ -37,6 +37,7 @@ jobs:
3737
yum update -y
3838
yum install -y python3 python3-pip
3939
python3 -m pip install --upgrade pip
40+
mkdir -p package
4041
python3 -m pip install -r requirements.txt -t ./package
4142
echo 'Dependencies installed for Amazon Linux 2'
4243
ls -la ./package
@@ -122,7 +123,7 @@ jobs:
122123
ENVIRONMENT="development"
123124
fi
124125
125-
echo "Deployment completed for branch: ${{ github.ref }}"
126+
echo "Amazon Linux 2 deployment completed for branch: ${{ github.ref }}"
126127
echo "Stack name: $STACK_NAME"
127128
echo "Environment: $ENVIRONMENT"
128129
echo "Commit: ${{ github.sha }}"

0 commit comments

Comments
 (0)