Skip to content

Commit

Permalink
Merge branch 'main' into feat/kubosaka/switch-camera-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Nov 12, 2024
2 parents 694fd7b + 8137e7f commit b401767
Show file tree
Hide file tree
Showing 22 changed files with 976 additions and 581 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/auto_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Test

on:
push


jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Set environment variables from .env file1
run: |
echo "${{ secrets.DB_ENV_FILE }}" > .env
- name: Set environment variables from .env file2
working-directory: app
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- name: Build Docker compose up
run: docker compose -f compose.dev.yml up --build -d

- name: npm install
run: docker compose exec app npm install

- name: npm run build
run: docker compose exec app npm run build

- name: Build Docker compose down
run: docker compose down
Loading

0 comments on commit b401767

Please sign in to comment.