Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/develop-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ jobs:
- name: Create JWT keys for staging
run: |
mkdir -p back/config/jwt
echo "${{ secrets.JWT_PRIVATE_KEY_STG }}" > back/config/jwt/private.pem
echo "${{ secrets.JWT_PUBLIC_KEY_STG }}" > back/config/jwt/public.pem
chmod 644 back/config/jwt/private.pem
printf '%s' "${{ secrets.JWT_PRIVATE_KEY_STG }}" > back/config/jwt/private.pem
printf '%s' "${{ secrets.JWT_PUBLIC_KEY_STG }}" > back/config/jwt/public.pem
chmod 600 back/config/jwt/private.pem
chmod 644 back/config/jwt/public.pem

- name: Create .env for frontend staging
run: echo "${{ secrets.FRONT_ENV_STG }}" > .env
run: printf '%s' "${{ secrets.FRONT_ENV_STG }}" > .env

- name: Build Staging Images
run: docker compose -f docker-compose-build-stg.yml build
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v4

- name: Create .env for backend staging
run: echo "${{ secrets.BACK_ENV_STG }}" > .env
run: printf '%s' "${{ secrets.BACK_ENV_STG }}" > .env

- name: Deploy Staging Services
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
- name: Create JWT keys for production
run: |
mkdir -p back/config/jwt
echo "${{ secrets.JWT_PRIVATE_KEY_PRD }}" > back/config/jwt/private.pem
echo "${{ secrets.JWT_PUBLIC_KEY_PRD }}" > back/config/jwt/public.pem
chmod 644 back/config/jwt/private.pem
printf '%s' "${{ secrets.JWT_PRIVATE_KEY_PRD }}" > back/config/jwt/private.pem
printf '%s' "${{ secrets.JWT_PUBLIC_KEY_PRD }}" > back/config/jwt/public.pem
chmod 600 back/config/jwt/private.pem
chmod 644 back/config/jwt/public.pem

- name: Create .env for frontend production
run: echo "${{ secrets.FRONT_ENV_PRD }}" > .env
run: printf '%s' "${{ secrets.FRONT_ENV_PRD }}" > .env

- name: Build Production Images
run: docker compose -f docker-compose-build-prd.yml build
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v4

- name: Create .env for backend production
run: echo "${{ secrets.BACK_ENV_PRD }}" > .env
run: printf '%s' "${{ secrets.BACK_ENV_PRD }}" > .env

- name: Deploy Production Services
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SlotFinder 3

Test number 3
Test number 4

No more endless discussions to find a date: let us suggest the best times that suit everyone.

Expand Down