Skip to content

Commit 5185d70

Browse files
committed
fix: add backend url
1 parent 70ce042 commit 5185d70

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker-img.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Login to Digital Ocean and create a directory
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- develop
77

@@ -38,9 +38,8 @@ jobs:
3838
username: ${{ secrets.DO_USERNAME }}
3939
key: ${{ secrets.DO_KEY }}
4040
port: ${{ secrets.DO_PORT }}
41+
envs: BACKEND_URL
4142
script: |
42-
set -e # Exit on errors
43-
set -x # Debugging enabled
4443
4544
# Create .env file with required environment variables
4645
cat <<EOF > .env
@@ -64,7 +63,7 @@ jobs:
6463
6564
# Run the new container
6665
container_id=$(docker run -d \
67-
-p 4008:5000 \
66+
-p 4008:81 \
6867
--env-file .env \
6968
${{ secrets.DOCKER_HUB_USERNAME }}/atlp-devpulse-fn:latest)
7069

0 commit comments

Comments
 (0)