Skip to content

Commit

Permalink
ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Nov 30, 2024
1 parent e56e975 commit afd0a7f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/github-actions-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Create .env file
run: |
mkdir -p ./apps/backend
echo "DATABASE_USER=${{ secrets.DATABASE_USER }}" >> ./apps/backend/.env
echo "DATABASE_PWD=${{ secrets.DATABASE_PWD }}" >> ./apps/backend/.env
echo "DATABASE_HOST=${{ secrets.DATABASE_HOST }}" >> ./apps/backend/.env
echo "DATABASE_PORT=${{ secrets.DATABASE_PORT }}" >> ./apps/backend/.env
echo "DATABASE_COLLECTION=${{ secrets.DATABASE_COLLECTION }}" >> ./apps/backend/.env
echo "BANDWAGON_SECRET_KEY=${{ secrets.BANDWAGON_SECRET_KEY }}" >> ./apps/backend/.env
echo "BANDWAGON_SERVER_ID=${{ secrets.BANDWAGON_SERVER_ID }}" >> ./apps/backend/.env
echo "KEY_CLOAK_URL=${{ secrets.KEY_CLOAK_URL }}" >> ./apps/backend/.env
echo "KEY_CLOAK_REALM=${{ secrets.KEY_CLOAK_REALM }}" >> ./apps/backend/.env
echo "KEY_CLOAK_CLIENT_ID=${{ secrets.KEY_CLOAK_CLIENT_ID }}" >> ./apps/backend/.env
echo "KEY_CLOAK_CLIENT_SECRET=${{ secrets.KEY_CLOAK_CLIENT_SECRET }}" >> ./apps/backend/.env
echo "NODE_ENV=production" >> ./apps/backend/.env
- name: Pre compilation
run: pnpm run build --filter backend

Expand Down Expand Up @@ -93,22 +77,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Create .env file
run: |
mkdir -p ./apps/backend
echo "DATABASE_USER=${{ secrets.DATABASE_USER }}" >> ./apps/backend/.env
echo "DATABASE_PWD=${{ secrets.DATABASE_PWD }}" >> ./apps/backend/.env
echo "DATABASE_HOST=${{ secrets.DATABASE_HOST }}" >> ./apps/backend/.env
echo "DATABASE_PORT=${{ secrets.DATABASE_PORT }}" >> ./apps/backend/.env
echo "DATABASE_COLLECTION=${{ secrets.DATABASE_COLLECTION }}" >> ./apps/backend/.env
echo "BANDWAGON_SECRET_KEY=${{ secrets.BANDWAGON_SECRET_KEY }}" >> ./apps/backend/.env
echo "BANDWAGON_SERVER_ID=${{ secrets.BANDWAGON_SERVER_ID }}" >> ./apps/backend/.env
echo "KEY_CLOAK_URL=${{ secrets.KEY_CLOAK_URL }}" >> ./apps/backend/.env
echo "KEY_CLOAK_REALM=${{ secrets.KEY_CLOAK_REALM }}" >> ./apps/backend/.env
echo "KEY_CLOAK_CLIENT_ID=${{ secrets.KEY_CLOAK_CLIENT_ID }}" >> ./apps/backend/.env
echo "KEY_CLOAK_CLIENT_SECRET=${{ secrets.KEY_CLOAK_CLIENT_SECRET }}" >> ./apps/backend/.env
echo "NODE_ENV=production" >> ./apps/backend/.env
- name: Compilation
run: pnpm run build --filter backend

Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/github-actions-uploader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Create .env file
run: |
mkdir -p ./apps/uploader
echo "AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_URL=${{ secrets.KEY_CLOAK_URL }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_REALM=${{ secrets.KEY_CLOAK_REALM }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_CLIENT_ID=${{ secrets.KEY_CLOAK_CLIENT_ID }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_CLIENT_SECRET=${{ secrets.KEY_CLOAK_CLIENT_SECRET }}" >> ./apps/uploader/.env
echo "NODE_ENV=production" >> ./apps/uploader/.env
- name: Pre compilation
run: pnpm run build --filter uploader

Expand Down Expand Up @@ -87,16 +77,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Create .env file
run: |
mkdir -p ./apps/uploader
echo "AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_URL=${{ secrets.KEY_CLOAK_URL }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_REALM=${{ secrets.KEY_CLOAK_REALM }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_CLIENT_ID=${{ secrets.KEY_CLOAK_CLIENT_ID }}" >> ./apps/uploader/.env
echo "KEY_CLOAK_CLIENT_SECRET=${{ secrets.KEY_CLOAK_CLIENT_SECRET }}" >> ./apps/uploader/.env
echo "NODE_ENV=production" >> ./apps/uploader/.env
- name: Pre compilation
run: pnpm run build --filter uploader

Expand Down

0 comments on commit afd0a7f

Please sign in to comment.