Integrity 1
This commit is contained in:
parent
20c088e9e7
commit
bdfe409891
3 changed files with 377 additions and 367 deletions
14
.github/workflows/web-deploy.yml
vendored
14
.github/workflows/web-deploy.yml
vendored
|
|
@ -29,16 +29,10 @@ jobs:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
username: ${{ secrets.DOCKERHUB_USER }}
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Set up Docker Buildx
|
- name: Docker Build Backend
|
||||||
uses: docker/setup-buildx-action@v3
|
run: docker build -f web/Dockerfile -t john4064/shiftsync:latest_web ./web --build-arg TEST=${{ secrets.TEST }}
|
||||||
- name: Build Image and Push to Registry
|
- name: Docker Push Backend
|
||||||
uses: docker/build-push-action@v6
|
run: docker push john4064/shiftsync:latest_web
|
||||||
with:
|
|
||||||
context: ./web
|
|
||||||
file: ./web/Dockerfile
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
|
||||||
tags: ${{ secrets.DOCKERHUB_USER }}/shiftsync:latest_web
|
|
||||||
- name: Deploy to Coolify
|
- name: Deploy to Coolify
|
||||||
run: |
|
run: |
|
||||||
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
||||||
|
|
|
||||||
728
web/package-lock.json
generated
728
web/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "shiftsync-website-web",
|
"name": "shiftsync-website-web",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue