Skip to content

Merge pull request #72 from ya-erm/dependabot/npm_and_yarn/multi-629b… #53

Merge pull request #72 from ya-erm/dependabot/npm_and_yarn/multi-629b…

Merge pull request #72 from ya-erm/dependabot/npm_and_yarn/multi-629b… #53

Workflow file for this run

name: Deploy Pipeline
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
# - name: Create SSH key
# run: |
# mkdir -p ~/.ssh/
# echo "$SSH_PRIVATE_KEY" > ~/.ssh/private.key
# sudo chmod 600 ~/.ssh/private.key
# echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
# shell: bash
# env:
# SSH_PRIVATE_KEY: ${{secrets.SERVER_SSH_PRIVATE_KEY}}
# SSH_KNOWN_HOSTS: ${{secrets.SERVER_KNOWN_HOSTS}}
# - name: Deploy via SSH
# run: |
# ssh -i ~/.ssh/private.key $SERVER_USERNAME@$SERVER_HOST 'cd ./apps/money-keeper; git pull; docker compose up front --build --force-recreate -d;'
# env:
# SERVER_USERNAME: ${{secrets.DEPLOY_SERVER_USERNAME}}
# SERVER_HOST: ${{secrets.DEPLOY_SERVER_HOST}}