Skip to content

Commit

Permalink
fix(ci): support any app (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-acosta authored Jan 6, 2025
1 parent be99629 commit 3e63d17
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/nuon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ defaults:
env:
NUON_ORG_ID: ${{ secrets.NUON_ORG_ID }}
NUON_API_TOKEN: ${{ secrets.NUON_API_TOKEN }}
NUON_APP_CONFIG: ${{ secrets.NUON_APP_CONFIG }}
NUON_APP_ID: ${{ secrets.NUON_APP_ID }}

jobs:
Expand All @@ -26,9 +27,7 @@ jobs:
- name: Sync configs
id: sync
run: |
# run: nuon apps sync --all
# for demo, just sync one app so we don't have to wait too long
nuon apps sync --file nuon.aws-ecs-app.toml
nuon apps sync --file $NUON_APP_CONFIG
working-directory: ./nuon
release:
runs-on: ubuntu-latest
Expand All @@ -43,5 +42,4 @@ jobs:
- name: Release to installs
id: release
run: |
# for demo, don't loop over apps, and just create releases for one
nuon components list -a aws-ecs-app -j | jq '.[].id' | xargs -n 1 nuon releases create -a aws-ecs-app --latest-build -c
nuon components list -a $NUON_APP_ID -j | jq '.[].id' | xargs -n 1 nuon releases create -a $NUON_APP_ID --latest-build -c

0 comments on commit 3e63d17

Please # to comment.