8 Commits

Author SHA1 Message Date
233e7a9c8e Update Dockerfile
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m43s
Build Mau & Deploy Mau / deploy (push) Successful in 6m15s
2024-06-22 20:49:00 +00:00
7123bc4529 Update .gitea/workflows/main.yml
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m38s
Build Mau & Deploy Mau / deploy (push) Successful in 3m59s
2024-05-27 21:00:13 +00:00
3294b1adf9 Update Dockerfile
Some checks failed
Build Mau & Deploy Mau / deploy (push) Has been cancelled
Build Mau & Deploy Mau / build (push) Has been cancelled
2024-05-27 20:59:44 +00:00
355dabf439 Update Dockerfile
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m39s
Build Mau & Deploy Mau / deploy (push) Successful in 4m6s
2024-05-27 20:47:30 +00:00
8997a570fa Merge pull request 'developmaunt' (#5) from developmaunt into mauster
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m50s
Build Mau & Deploy Mau / deploy (push) Successful in 3m57s
Reviewed-on: https://git.mau-mau.nl/MauMau/MauMau-Client/pulls/5
2024-05-25 21:44:24 +00:00
e30e2d5d60 Merge pull request 'Back-end update and new styling' (#4) from quality-rewrite into developmaunt
Some checks failed
Build Mau & Deploy Mau / build (push) Successful in 1m50s
Build Mau & Deploy Mau / deploy (push) Successful in 4m4s
Build Mau & Deploy Mau / build (pull_request) Has been cancelled
Build Mau & Deploy Mau / deploy (pull_request) Has been cancelled
Reviewed-on: https://git.mau-mau.nl/MauMau/MauMau-Client/pulls/4
2024-05-25 20:59:48 +00:00
3b53b8997d Merge pull request 'developmaunt -> mauster' (#3) from developmaunt into mauster
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 2m11s
Build Mau & Deploy Mau / deploy (push) Successful in 4m53s
Reviewed-on: https://git.mau-mau.nl/MauMau/MauMau-Client/pulls/3
2024-04-24 18:05:40 +00:00
ff9c9c6a84 Update .gitea/workflows/main.yml
Some checks failed
Build Mau & Deploy Mau / build (push) Has been cancelled
Build Mau & Deploy Mau / deploy (push) Has been cancelled
2024-04-19 21:15:55 +00:00
2 changed files with 13 additions and 7 deletions

View File

@@ -1,6 +1,12 @@
name: Build Mau & Deploy Mau name: Build Mau & Deploy Mau
on: [push, pull_request] on:
push:
branches:
- 'mauster'
pull_request:
types:
- opened
concurrency: concurrency:
group: mau group: mau
@@ -36,18 +42,13 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: gitea.ref == 'refs/heads/mauster'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Create .env File
run: |
touch .env
echo "REACT_APP_API_URL=https://mau-mau.nl/api" > .env
echo "REACT_APP_WEBSOCKET_URL=wss://mau-mau.nl/api" >> .env
- name: Set up Docker BuildX - name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
with: with:

View File

@@ -1,7 +1,12 @@
# Create a production build of the app # Create a production build of the app
FROM node:16.9.1 as build FROM node:16.9.1 as build
WORKDIR /var/www/mau-mau.nl
COPY . . COPY . .
RUN echo "REACT_APP_API_URL=https://api.mau-mau.nl" >> .env
RUN echo "REACT_APP_WEBSOCKET_URL=wss://api.mau-mau.nl" >> .env
RUN npm install --silent RUN npm install --silent
RUN npm run build RUN npm run build
RUN npm install -g serve RUN npm install -g serve