Skip to content

Commit 3849f6b

Browse files
committed
feat: add deploy to prod workflow
1 parent 658aad1 commit 3849f6b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- CHANGELOG.md
1313
- .gitignore
1414
- .github/**
15-
# Support manually triggering the workflow.
1615
workflow_dispatch:
1716

1817
env:

.github/workflows/deploy-prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
deploy:
12-
runs-on: [self-hosted, production]
12+
runs-on: ubuntu-latest
1313
environment: production
1414
steps:
1515
- name: Deploy on PROD (talentpulse.nl)
@@ -27,7 +27,7 @@ jobs:
2727
envs: IMAGE_TAG,GITHUB_TOKEN,GITHUB_ACTOR
2828
script: |
2929
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
30-
cd /data/home/deleerrekening/deployments/dlr-scp-frontend
30+
cd /root/deployments/deploy-backend-application
3131
touch .env.new
3232
echo "IMAGE_TAG=\"$IMAGE_TAG\"" >> .env.new
3333
echo "HOST=\"api.talentpulse.nl\"" >> .env.new

routes/api/v1.php

-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@
4141

4242
$router->get('/skilltrees/1', [SkilltreeController::class, 'index']);
4343
});
44-
#

start-build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ docker compose down --remove-orphans
77

88
echo "==[ DOCKER BUILD AND START CONTAINERS ]==";
99
dockerCompose up -d --remove-orphans --build
10+
11+
#

0 commit comments

Comments
 (0)