Skip to content

Commit

Permalink
another deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Mar 26, 2024
1 parent bb00786 commit 59969d1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5,252 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and deploy production

on:
push:
branches:
- "main"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

env:
DEPLOYMENT: scanr-next-gen
Expand All @@ -12,31 +12,9 @@ env:
MM_NOTIFICATION_CHANNEL: bots

jobs:
bump:
name: 🏷️ Bump npm version
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Automated Version Bump
uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
minor-wording: 'MINOR'
major-wording: 'MAJOR'
patch-wording: 'PATCH'
tag-prefix: 'v'
check-last-commit-only: 'true'
PACKAGEJSON_DIR: 'client'

publish-ghcr:
name: 🐳 Publish Docker
name: 📦 Publish Docker image
runs-on: ubuntu-latest
needs: bump
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ services:

sng-client:
container_name: sng-client
build: ./client-js
env_file: ./client-js/.env
build: ./client
command: "npm run dev:docker"
ports:
- "5173:5173"
Expand Down
Loading

0 comments on commit 59969d1

Please sign in to comment.