ssh-action
django-hines
ssh-action | django-hines | |
---|---|---|
20 | 9 | |
4,273 | 15 | |
- | - | |
6.7 | 9.1 | |
30 days ago | 3 days ago | |
Shell | HTML | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ssh-action
-
Portfolio Site Continuous Integration GitHub Action
This GitHub action will use another ssh-action action to handle the remote ssh connection. After storing the connection credentials in the GitHub repository secrets, this can securely/dynamically connect to the remote Ubuntu machine. The last key for this action job is the script, or verbatim Ubuntu commands that will be run. For the sake of brevity, I have only written pseudo-code for the deployment steps.
-
Do I need Dockerhub for CI/CD with Github Actions?
If you have SSH setup, you could have the your pipeline SSH in and run start your script. A quick search found a few actions that might work, including this one that does most of the heavy lifting for you. Just setup your secrets, give it the command you want to run, and it'll go from there. Good luck!
-
Need advice for deploying a web app on a single server: Docker compose VS direct install + systemd?
Then on my backend and frontend GitHub repos, I'll have another GitHub Actions workflow that uses something like appleboy/ssh-action to simply SSH into my server, pull the new images, and re-start the containers, whenever someone pushes to master.
- How any of this works (github action)?
-
What tools/services are you using to deploy your Symfony app to servers?
Personally I use GitHub Actions that connects via SSH and runs custom bash deploy scripts.
-
Deploy A Simple Application To AWS EC2
Executing remote ssh commands using appleboy/ssh-action@master.
-
Review My CI/CD Tool
Yeah it's definitely a pet project. I'll look into Puppet for actual applications. Do you think that something like this would be a good, realistic alternative rather than going over HTTPS, if the use case is just a few simple, repeated shell commands: https://github.com/marketplace/actions/ssh-remote-commands
-
Setting up Continuous Deployment for a vue app on a VPS using Github Actions
SSH Remote Commands
-
Sync Git Repo To htdocs Folder on Ubuntu VPS?
Or you combine part of both and use a GitHub action to run the script from the first action as a remote SSH command: https://github.com/marketplace/actions/ssh-remote-commands
-
PM2 configuration question
You could add a Github Action to your repo which uses https://github.com/appleboy/ssh-action that SSHs into your server, pulls the repo there and restarts pm2.
django-hines
-
Pytest-django not seing manage.py file while github workflow
FWIW, here's my working main.yml for my site, although it doesn't use pipenv or pytest, so it's not directly comparable: https://github.com/philgyford/django-hines/blob/main/.github/workflows/main.yml
-
What are you using Django for?
My personal website is Django and is far too complicated but I enjoy tinkering with it: https://www.gyford.com . I include all my Tweets, Flickr photos, Pinboard bookmarks, and Last.fm listening using my app django-ditto as if Web 2.0 was still a thing. And track my reading and event-going using my other app django-spectator.
-
Django structure - how to architect a blog with a custom homepage
In case it's any interest, here's the weblogs app from my personal site https://github.com/philgyford/django-hines/tree/main/hines/weblogs
-
Help understanding django front end with Gulp
Here’s a gulpfile.js from one of my projects in case any of its useful - it might not be and it might be terrible :)
-
Combining the querysets of two different models
There are probably better ways, but this is roughly what I've done in the code for the combined RSS feed on my own website.
-
How do I serve media image files during a production server
The CustomS3Boto3Storage is to work around an error that happened when uploading files. You can see the class here.
-
Flatpages or Model?
I ended up writing my own similar simple app for my site, for creating blocks in sidebars, footers, etc https://github.com/philgyford/django-hines/tree/main/hines/blocks Feel free to copy if it helps!
-
Caching and current user on the navbar
I hope someone has a better answer for you but this is what I’ve done sometimes… use a view mixin class that only caches the view for non-logged-in users. e.g.: https://github.com/philgyford/django-hines/blob/main/hines/core/views.py#L81
-
hey, anyone knows how to use github actions with django. can you share the code.
You'll need to be more specific if there's a particular bit of the puzzle you're struggling with. Here's the action I ended up with after a lot of googling, and searching GitHub itself for more examples: https://github.com/philgyford/django-hines/blob/main/.github/workflows/main.yml That uses pipenv, and runs flake8, and coverage and coveralls, and posts a notification to Slack when it's done. But you might need other things... every example I looked at is different!
What are some alternatives?
build-push-action - GitHub Action to build and push Docker images with Buildx
tacticalrmm - A remote monitoring & management tool, built with Django, Vue and Go.
checkout - Action for checking out a repo
bloggy - Open source codebase for stacktips.com blog. It is built using Python and Django framework.
login-action - GitHub Action to login against a Docker registry
git-actions - A GitHub Action to run arbitrary git commands
setup-dlang - Github action for dlang compiler setup
scp-action - GitHub Action that copy files and artifacts via SSH.
do-actions-runner - Self-hosted actions runner on DigitalOcean App Platform
telegram-action - GitHub Action that sends a Telegram message.
TOC-Generator-Action - A Github Action to generate a table of contents in your README
git-cliff-action - GitHub action to generate a changelog based on the Git history