Skip to content

Commit cacb2a9

Browse files
committed
fix deploy
1 parent c21e353 commit cacb2a9

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
aws-region: eu-west-1
3838
role-to-assume: arn:aws:iam::097948374213:role/github-actions-deploy
3939
- name: Deploy Layer
40-
run: AWS_PROFILE=prod npm run deploy
40+
run: STAGE=prod AWS_REGION=eu-west-1 npm run deploy
4141

4242
create-release:
4343
needs: [publish-node-packages]

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

8+
## [Unreleased]
9+
10+
* Fix deploy
11+
812
## [0.5.2] - 2024-03-27
913

1014
* fix deploy

node-tracing.zip

0 Bytes
Binary file not shown.

scripts/publish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ chmod +x ../layer-dir/baselime
88
#Zip the build directory
99
cd ../layer-dir
1010
zip -r ../node-tracing.zip .
11-
1211
# Get the list of AWS regions
1312
REGIONS=$(aws ec2 describe-regions --output text --query "Regions[*].RegionName")
1413
echo $REGIONS
@@ -45,7 +44,7 @@ upload_layer() {
4544
fi
4645
layer_arn=$(echo "$output" | jq -r .LayerArn)
4746
perm=$(aws ssm put-parameter \
48-
--name "/$AWS_PROFILE/baselime/otel/tracer/node" \
47+
--name "/$STAGE/baselime/otel/tracer/node" \
4948
--description "The ARN for our telemetry extension" \
5049
--value "$name:$version_number" \
5150
--type String \

0 commit comments

Comments
 (0)