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
-
Notifications
You must be signed in to change notification settings - Fork 0
einsenundnullen/deploy-action
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published