-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6aec70
commit 8d1a114
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,17 @@ jobs: | |
- name: Checkout code | ||
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}' | ||
};" > src/environments/environment.prod.ts | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
|
@@ -57,17 +68,6 @@ jobs: | |
source: "./docker-compose.yml" | ||
target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }} | ||
|
||
- 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}' | ||
};" > src/environments/environment.prod.ts | ||
- name: SSH to VM and Execute Docker-Compose Up | ||
uses: appleboy/[email protected] | ||
with: | ||
|