Skip to content

Commit 0ab5350

Browse files
Add deploy-server and deploy-configs
1 parent 97af7d1 commit 0ab5350

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
env:
1111
REGISTRY_USERNAME: 'nlsoftware'
12-
REGISTRY_IMAGE: noirlab/gpp-nav-configs
12+
REGISTRY_IMAGE: noirlab/gpp-nav
1313
HEROKU_APP_NAME: navigate-dev-gn
1414
steps:
1515
- uses: actions/checkout@v4
@@ -27,3 +27,26 @@ jobs:
2727
env:
2828
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
2929
run: ./deploy/deploy-heroku.sh
30+
31+
deploy-configs:
32+
runs-on: ubuntu-latest
33+
env:
34+
REGISTRY_USERNAME: 'nlsoftware'
35+
REGISTRY_IMAGE: noirlab/gpp-nav-configs
36+
HEROKU_APP_NAME: navigate-configs-dev-gn
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: Log in to the Container registry
40+
uses: docker/login-action@v3
41+
with:
42+
username: ${{ env.REGISTRY_USERNAME }}
43+
password: ${{ secrets.DOCKER_HUB_TOKEN }}
44+
45+
- name: Install Heroku CLI
46+
run: |
47+
curl https://cli-assets.heroku.com/install.sh | sh
48+
49+
- name: Deploy
50+
env:
51+
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
52+
run: ./deploy/deploy-heroku.sh

0 commit comments

Comments
 (0)