Skip to content

Commit

Permalink
#100: archive necessary deployment files with deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolkenfarmer committed Mar 15, 2024
1 parent 1e3a891 commit a1c58d9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,16 @@ jobs:
docker tag dps_training_k-postgres ghcr.io/hpi-sam/dps_training_k-postgres:latest
docker push ghcr.io/hpi-sam/dps_training_k-postgres:latest
# Skip redis as it is just the public Docker Hub image anyway and therefore should be directly pulled from there
- name: Prepare deployment files
run: |
mkdir deployment_files
cp docker-compose.yml deployment_files/
cp frontend/env.d.ts deployment_files/
cp backend/dps_training_k/.env deployment_files/
- name: Archive deployment files
uses: actions/upload-artifact@v2
with:
name: deployment-files
path: deployment_files/

0 comments on commit a1c58d9

Please sign in to comment.