Skip to content

Conversation

@sravfeyn
Copy link
Member

@sravfeyn sravfeyn commented Jul 3, 2025

It's been hard to deploy from Mac (with Apple Silicon), this should make it easy to deploy. I have adapted this from commcare-connect github deploy action. Currently, it doesn't have the slackbot integration. PR for that is seperate #152

default: 'staging'
type: choice
options:
- production
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty much redundant and not used, but I have kept it anyway

uses: shimataro/[email protected]
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added these to the github secrets

inputs:
environment:
required: true
default: 'staging'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional to set the default to staging even though staging is not one of the available choices?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Contributor

@hemant10yadav hemant10yadav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@sravfeyn sravfeyn merged commit 92e6e94 into main Jul 3, 2025
5 checks passed
@sravfeyn sravfeyn deleted the sr/gdeploy branch July 3, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants