Skip to content

Commit

Permalink
new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Nov 3, 2024
1 parent 0af52cc commit 3871b35
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ jobs:
uses: actions/checkout@v4

- name: Create Environment File
env:
ANGULAR_APP_API_KEY: ${{ secrets.ANGELOS_APP_API_KEY }}
run: |
echo "export const environment = {
production: true,
angelosUrl: '/api/v1/question/chat',
angelosToken: '/api/token',
angelosAppApiKey: '${ANGELOS_APP_API_KEY}'
angelosAppApiKey: '${{secrets.ANGELOS_APP_API_KEY}}'
};" > src/environments/environment.prod.ts
- name: Verify Environment File Creation
run: |
if [ -f src/environments/environment.prod.ts ]; then
echo "Environment file created successfully."
else
echo "Environment file creation failed." && exit 1
fi
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down

0 comments on commit 3871b35

Please sign in to comment.