Skip to content

Commit

Permalink
moving to t3desk
Browse files Browse the repository at this point in the history
  • Loading branch information
julius-heitkoetter committed Nov 27, 2023
1 parent ecf581f commit 5244e3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ jobs:
# create deployment directory if it doesn't already exist
- name: Create Directory
run: |
ssh submit06 "mkdir -p ~/A2rchi-dev/"
ssh submit-t3desk "mkdir -p ~/A2rchi-dev/"
# stop any existing docker compose that's running
- name: Stop Docker Compose
run: |
ssh submit06 'bash -s' < ${{ github.workspace }}/deploy/dev/dev-stop.sh
ssh submit-t3desk 'bash -s' < ${{ github.workspace }}/deploy/dev/dev-stop.sh
# copy repository to machine
- name: Copy Repository
run: |
rsync -e ssh -r ${{ github.workspace}}/* --exclude .git/ --delete submit06:~/A2rchi-dev/
rsync -e ssh -r ${{ github.workspace}}/* --exclude .git/ --delete submit-t3desk:~/A2rchi-dev/
# run deploy script
- name: Run Deploy Script
run: |
export tag="${GITHUB_REF#refs/heads/}"
export tag="${tag//\//-}.${GITHUB_SHA}"
sed -i "s/BASE_TAG/${tag}/" ${{ github.workspace }}/deploy/dev/dev-install.sh
ssh submit06 'bash -s' < ${{ github.workspace }}/deploy/dev/dev-install.sh
ssh submit-t3desk 'bash -s' < ${{ github.workspace }}/deploy/dev/dev-install.sh
# clean up secret files
- name: Remove Secrets from Runner
Expand Down
2 changes: 1 addition & 1 deletion config/dev-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interfaces:
PORT: 7861
EXTERNAL_PORT: 7682
HOST: "0.0.0.0" # either "0.0.0.0" (for public) or "127.0.0.1" (for internal)
HOSTNAME: "submit06.mit.edu" # careful, this is used for the chat service
HOSTNAME: "a2rchi.mit.edu" # careful, this is used for the chat service
template_folder: "/root/A2rchi/a2rchi/interfaces/chat_app/templates"
static_folder: "/root/A2rchi/a2rchi/interfaces/chat_app/static"
num_responses_until_feedback: 3 #the number of responses given by A2rchi until she asks for feedback.
Expand Down

0 comments on commit 5244e3c

Please sign in to comment.