Skip to content

Commit

Permalink
fix: test files
Browse files Browse the repository at this point in the history
  • Loading branch information
sagunkhatri committed Jun 26, 2024
1 parent 923cfa0 commit a691d2a
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/transfer-build-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ jobs:
working-directory: ./all_in_docker/client

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install Dependencies
run: npm install

- name: Build Application
run: |
CI=false npm run build
- name: List build directory contents
run: ls -la build

- name: Setup SSH
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Transfer Build Files to Ubuntu Instance
run: scp -r build/* ${{ secrets.REMOTE_USERNAME }}@${{ secrets.REMOTE_HOST }}:/tmp
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"

- name: Install Dependencies
run: npm install

- name: Build Application
run: |
CI=false npm run build
- name: List build directory contents
run: ls -la build

- name: Setup SSH
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Transfer Build Files to Ubuntu Instance
run: scp -r build/* ${{ secrets.REMOTE_USERNAME }}@${{ secrets.REMOTE_HOST }}:/tmp

0 comments on commit a691d2a

Please sign in to comment.