Skip to content

Commit

Permalink
feat: update paths for the release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ehh-why-its-so-hard committed Sep 17, 2024
1 parent 800c2d2 commit 6755d34
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release-nebula-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ jobs:
name: frontend_dist
path: ./

- run: |
ls -als ./
ls -als ./dist
sudo apt-get update
sudo apt-get install -y tree
tree
- id: release_version
name: 'Filter release version'
shell: bash
Expand All @@ -98,7 +90,7 @@ jobs:
with:
SSH_PRIVATE_KEY: ${{ secrets.FRONTEND_DEPLOYMENT_SSH_KEY }}
ARGS: "--archive --compress --verbose --checksum --delete -i --rsync-path='sudo rsync'"
SOURCE: 'dist/apps/explorer'
SOURCE: 'apps/explorer'
REMOTE_HOST: '${{ matrix.target }}'
REMOTE_USER: 'fe-deployment'
TARGET: '/var/www/explorer-dist/${{ steps.release_version.outputs.number }}'
Expand All @@ -117,7 +109,7 @@ jobs:
with:
SSH_PRIVATE_KEY: ${{ secrets.FRONTEND_DEPLOYMENT_SSH_KEY }}
ARGS: "--archive --compress --verbose --checksum --delete -i --rsync-path='sudo rsync'"
SOURCE: 'dist/apps/trading/exported'
SOURCE: 'apps/trading/exported'
REMOTE_HOST: '${{ matrix.target }}'
REMOTE_USER: 'fe-deployment'
TARGET: '/var/www/trading-dist/${{ steps.release_version.outputs.number }}'
Expand All @@ -136,7 +128,7 @@ jobs:
with:
SSH_PRIVATE_KEY: ${{ secrets.FRONTEND_DEPLOYMENT_SSH_KEY }}
ARGS: "--archive --compress --verbose --checksum --delete -i --rsync-path='sudo rsync'"
SOURCE: 'dist/apps/governance'
SOURCE: 'apps/governance'
REMOTE_HOST: '${{ matrix.target }}'
REMOTE_USER: 'fe-deployment'
TARGET: '/var/www/governance-dist/${{ steps.release_version.outputs.number }}'
Expand Down

0 comments on commit 6755d34

Please sign in to comment.