Skip to content

Commit

Permalink
chore: removed old deploy ssh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNemi03 committed Jun 21, 2023
1 parent 71fc095 commit 114ca6c
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,44 +166,6 @@ jobs:
- name: Build SCSS
run: pnpm scss

deploy-production:
name: deploy (production)
if: |
github.ref == 'refs/heads/production'
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'
needs: [typescript, rollup, scss]
runs-on: ubuntu-latest
steps:
- name: SSH and Deploy to Production
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VPS_HOST }}
port: ${{ secrets.VPS_PORT }}
username: ${{ secrets.VPS_USERNAME }}
key: ${{ secrets.VPS_KEY }}
script_stop: true
script: ~/deploy-production.sh

deploy-development:
name: deploy (development)
if: |
github.ref == 'refs/heads/development'
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'
needs: [typescript, rollup, scss]
runs-on: ubuntu-latest
steps:
- name: SSH and Deploy to Development
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VPS_HOST }}
port: ${{ secrets.VPS_PORT }}
username: ${{ secrets.VPS_USERNAME }}
key: ${{ secrets.VPS_KEY }}
script_stop: true
script: ~/deploy-development.sh

package-container:
name: package container
if: |
Expand Down

0 comments on commit 114ca6c

Please sign in to comment.