slovensko-digital/uvobot

View on GitHub
.github/workflows/slovensko_digital_ci.yml

Summary

Maintainability
Test Coverage
name: Slovensko.Digital CI

on: 
  push: 
    branches: master
      
jobs:
  gitlab-push:
    if: ${{github.ref == 'refs/heads/master'}}

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - uses: dokku/github-action@master
        with:
          git_push_flags: '--force'
          git_remote_url: ssh://git@${{secrets.GITLAB_DEPLOY_HOST}}/${{github.event.repository.name}}.git
          ssh_private_key: ${{secrets.GITLAB_DEPLOY_KEY}}