Skip to content

Create actions.yml#13

Open
Hemachandra9899 wants to merge 1 commit intotejareddy8888:mainfrom
Hemachandra9899:patch-3
Open

Create actions.yml#13
Hemachandra9899 wants to merge 1 commit intotejareddy8888:mainfrom
Hemachandra9899:patch-3

Conversation

@Hemachandra9899
Copy link
Contributor

adding the git actions .

adding the git actions .
with:
path: ./build

deploy:
Copy link
Owner

@tejareddy8888 tejareddy8888 Jul 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we deploying on to GitHub.

See this suggested code below:

  - name: Deploy to server
      uses: appleboy/ssh-action@v1.0.3
      with:
        host: ${{ secrets.SERVER_HOST }}
        port: ${{ secrets.SERVER_PORT }}
        username: ${{ secrets.SERVER_USER }}
        key: ${{ secrets.SERVER_SSH_KEY }}
        script: |
          # Navigate to your application directory
          cd /path/to/your/app
          
          # Pull latest changes
          git pull origin main
          
          # Install dependencies and build
          npm ci
          npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants