Giter VIP home page Giter VIP logo

dokku-deploy-github-action's People

Contributors

chrisjsimpson avatar idoberko2 avatar neamar avatar styfrombrest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dokku-deploy-github-action's Issues

Feature Request: "git-push-flags" parameter

By default, the action tries to push to the Dokku repository without any flags. In cases of pushing to the Dokku repository from other sources, an error might occur, such as #1.

This feature allows passing additional flags to be passed to the git push command. In the described scenario, using --force might be considered.

[Support] Add support for deploying Github Registry.

I'm deploying my app on the DigitalOcean machine. The app doesn't take much memory but the docker build does.

Add the option to build the docker image on Github and then deploying it of the cloud by pulling it from the registry.

Error when deploying branch

Hi,

I'm trying to deploy a branch and get the following error message:

GIT_COMMAND=git push deploy 69a6341aa401f37a24739d74eabf3fe292c5cadc:refs/heads/refs/heads/v0.1:master
error: src refspec 69a6341aa401f37a24739d74eabf3fe292c5cadc:refs/heads/refs/heads/v0.1 does not match any.
error: failed to push some refs to '[email protected]:test-app'

I get the same message when trying the git push manually, so I guess it's an issue with git and the reference syntax,

Is it working on your side ?

Add support for DOKKU_SCALE

It would be great if you could add support for creating/overwriting the DOKKU_SCALE file

    - uses: idoberko2/dokku-deploy-github-action@v1
      with:
          ssh-private-key: ${{ secrets.DOKKU_SSH }}
          dokku-host: 'myapi.com'
          app-name: 'api'
          dokku-scale: 'web=2'

Could execute

echo web=2 > DOKKU_SCALE

fatal: Could not read from remote repository. / Documentation

Hi,

Thanks for creating this.

Locally I can push to to dokku

e.g. git push deploy a35a0c163cba7bf76ad8f4a7723f25eb453e80c0:refs/heads/master is successful from my local machine, and dokku generates a new build.

However in the pipeline I'm seeing the following error:

Example failing pipeline
https://github.com/chrisjsimpson/fastapi/runs/993763193?check_suite_focus=true#step:4:18

For testing, I have set-up secrets using the same private key (SSH_PRIVATE_KEY)

I'm probably missing some key steps on the dokku server in relation to authorised keys.

Any additional documentation on the dokku setup required is much appreciated.

upload a specific commit

Hi. Thanks for your code. Is it possible to upload a specific commit? I need to upload the old version of the code. How to do it?

get some errors

error: failed to push some refs to 'dokku@server:project'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

but locally resolved with git push dokku master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.