Skip to content

einsenundnullen/deploy-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Simple deployment using SSH and Docker Compose

name: Deploy

on:
  push:
    branches:
      - master

jobs:
  test:
    name: Simple deployment using SSH and Docker Compose
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Deploy
        uses: einsenundnullen/deploy-action@master
        with:
          docker-compose-file: docker-compose-prod.yml
          docker-env-vars: ${{ secrets.PROD_ENV }}
          ssh-user: ci
          ssh-host: ${{ secrets.HOST }}
          ssh-private-key: ${{ secrets.PRIVATE_KEY }}
          working-directory: ./optional-working-directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published