Skip to content

Commit

Permalink
path update
Browse files Browse the repository at this point in the history
  • Loading branch information
emrergin committed Jan 1, 2024
1 parent 8eec777 commit 0cf82df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI and Deployment

on: [push]
on:
push:
branches:
- main

jobs:
build:
Expand Down Expand Up @@ -39,15 +42,15 @@ jobs:
uses: actions/download-artifact@v2
with:
name: app
path: ./temporaryfolder
path: temporaryfolder
- name: copy file via ssh password
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: ./temporaryfolder
source: temporaryfolder/*
target: /home/${{ secrets.USERNAME }}/servers/belief/standalone
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@v1.0.2
Expand Down

0 comments on commit 0cf82df

Please sign in to comment.