Skip to content

Commit

Permalink
Merge pull request #24 from dereckmezquita/DN-3-release-failure-debug…
Browse files Browse the repository at this point in the history
…-server-not-found

DN-3: 4.0.0 forgot to update prod workflow
  • Loading branch information
dereckmezquita authored Jun 24, 2024
2 parents 1f51d0c + 18bf926 commit e62d2bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/release_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Release Prod Docker image to Linode
on:
release:
types: [published]
# on:
# push:
# branches-ignore:
# - 'master'
env:
IMAGE_NAME_SERVER: ${{ secrets.DOCKER_USERNAME }}/derecksnotes-server
IMAGE_NAME_CLIENT: ${{ secrets.DOCKER_USERNAME }}/derecksnotes-client
Expand Down Expand Up @@ -40,15 +36,10 @@ jobs:
- name: Build and push server image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: ./server
context: ./
file: ./server/Dockerfile
push: true
tags: ${{ env.IMAGE_NAME_SERVER }}:latest_prod
build-args: |
BUILD_ENV=PROD
API_URL=https://derecksnotes.com/api/
SESSION_SECRET=${{ secrets.SESSION_SECRET }}
MONGO_PASSWORD=${{ secrets.MONGO_PASSWORD }}

push_to_registry_client:
name: Push Docker client image to Docker Hub
Expand Down Expand Up @@ -79,10 +70,6 @@ jobs:
file: ./client/Dockerfile
push: true
tags: ${{ env.IMAGE_NAME_CLIENT }}:latest_prod
build-args: |
NEXT_PUBLIC_BUILD_ENV=PROD
NEXT_PUBLIC_APP_URL=https://derecksnotes.com/
NEXT_PUBLIC_API_URL=https://derecksnotes.com/api/

deploy_to_linode:
name: Deploy docker-compose.yml to Linode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "derecksnotes.com",
"version": "4.0.0",
"version": "4.0.1",
"type": "module",
"repository": "[email protected]:dereckdemezquita/derecksnotes.com.git",
"scripts": {
Expand Down

0 comments on commit e62d2bd

Please sign in to comment.