Skip to content

Commit

Permalink
add default username
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed Nov 1, 2024
1 parent 6c59ea3 commit 2b33004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Configure SSH
env:
PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
DEPLOY_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
DEPLOY_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME || 'ubuntu' }}
run: |
mkdir -p ~/.ssh/
echo "$PRIVATE_KEY" > ~/.ssh/aws
Expand Down
2 changes: 1 addition & 1 deletion web/deploy/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You must set the following [repository secrets](https://github.com/nimh-dsst/osm
* `SSH_PROD_HOST`: The static IP address of the production ec2 instance
* `SSH_STAGE_HOST`: The static IP address of the staging ec2 instance
* `LETSENCRYPT_ADMIN_EMAIL`: The email address associated with the Let's Encrypt certificate

* `DEPLOYMENT_USERNAME`: The username used to ssh into the ec2 instances. Defaults to `ubuntu`.
You must also set the following [repository variables](https://github.com/nimh-dsst/osm/settings/variables/actions) before running the GitHub workflows:

* `PRODUCTION_DEPLOYMENT_URI`: The URL of the production deployment. Probably `'opensciencemetrics.org'` (including single quotes `'`)
Expand Down

0 comments on commit 2b33004

Please sign in to comment.