Skip to content

Commit

Permalink
Update gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroxis-xs committed May 27, 2024
1 parent 415b096 commit a01a2d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main_eduquest-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ jobs:
- name: Lowercase the repo name and username
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}

# - name: Set environment variables
# run: |
# echo "NEXT_PUBLIC_AZURE_CLIENT_ID=${{ secrets.NEXT_PUBLIC_AZURE_CLIENT_ID }}" >> .env.prodcution
- name: Set environment variables
run: |
echo "NEXT_PUBLIC_AZURE_CLIENT_ID=${{ secrets.NEXT_PUBLIC_AZURE_CLIENT_ID }}" > .env.local
# echo "NEXT_PUBLIC_AZURE_TENANT_ID=${{ secrets.NEXT_PUBLIC_AZURE_TENANT_ID }}" >> .env.prodcution
# echo "NEXT_PUBLIC_AZURE_CLIENT_SECRET=${{ secrets.NEXT_PUBLIC_AZURE_CLIENT_SECRET }}" >> .env.prodcution

- name: Create .env file
uses: SpicyPizza/[email protected]
with:
envkey_NEXT_PUBLIC_AZURE_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_AZURE_CLIENT_ID }}
file_name: .env
# - name: Create .env file
# uses: SpicyPizza/[email protected]
# with:
# envkey_NEXT_PUBLIC_AZURE_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_AZURE_CLIENT_ID }}
# file_name: .env


- name: Build and push container image to registry
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Page = () => {
sx={{ mb: 3 }}
>
<Typography variant="h4">
Login 2 {test}
Login 3 {test}
</Typography>
<Typography
color="text.secondary"
Expand Down

0 comments on commit a01a2d4

Please sign in to comment.