Skip to content

Commit

Permalink
Update ci-ui.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiran-Larbi authored Apr 23, 2024
1 parent 7bb6ccc commit 1806e9d
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions .github/workflows/ci-ui.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Continuous Integration for UI Suivie Physique

on:
push:
branches:
Expand Down Expand Up @@ -27,7 +28,7 @@ jobs:
echo "UI_VERSION=$(jq -r '.version' package.json )" >> $GITHUB_OUTPUT
- name: Setup Docker Buildx
# uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3

- name: Login to Dockerhub
uses: docker/login-action@v3
Expand All @@ -43,32 +44,3 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: dotcipher1/sp-ui:${{ steps.extract_version.outputs.UI_VERSION }}, dotcipher1/sp-ui:latest


# deploy:
# name: Deploy Suivie Physique UI
# runs-on: self-hosted
# needs: [build-push-image]
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: Setup JDK 17
# uses: actions/setup-jdk@v4
# with:
# distribution: 'corretto'
# java-version: 17
#
# - name: Create deployment folder
# run: ssh ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_IP }} "mkdir -p ci-cd"
#
# - name: Copy deployment files
# run: scp docker-compose.yml ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_IP }}:ci-cd/docker-compose.yml
#
# - name: Set ENV & Deploy UI
# run: |
# ssh ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_IP }} <<EOF
# cd ci-cd
# docker-compose -f docker-compose.yml pull -q
# docker-compose -f docker-compose.yml up -d
# EOF

0 comments on commit 1806e9d

Please sign in to comment.