-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1009 from hngprojects/feature/add-envs-for-kimiko
chore: add extra envs for kimiko environments
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
types: | ||
- completed | ||
|
||
jobs: | ||
jobs: | ||
deploy_boilerplate_frontend: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
|
@@ -35,6 +35,11 @@ jobs: | |
action_output_file: ".env" | ||
API_URL: ${{ vars.API_URL }} | ||
NEXTAUTH_URL: ${{ vars.URL }} | ||
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | ||
TWITTER_CLIENT_ID: ${{ secrets.TWITTER_CLIENT_ID }} | ||
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | ||
TWITTER_CLIENT_SECRET: ${{ secrets.TWITTER_CLIENT_SECRET }} | ||
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} | ||
|
||
- name: Copy Artifacts to server | ||
uses: appleboy/[email protected] | ||
|
@@ -55,4 +60,6 @@ jobs: | |
cd ~/deployments/hng_boilerplate_nextjs | ||
tar -xzf boilerplate.tar.gz | ||
rm -f boilerplate.tar.gz | ||
git reset --hard | ||
git pull origin dev | ||
pm2 restart boilerplate-frontend --update-env |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
types: | ||
- completed | ||
|
||
jobs: | ||
jobs: | ||
deploy_boilerplate_frontend: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
|
@@ -35,6 +35,11 @@ jobs: | |
action_output_file: ".env" | ||
API_URL: ${{ vars.API_URL }} | ||
NEXTAUTH_URL: ${{ vars.URL }} | ||
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | ||
TWITTER_CLIENT_ID: ${{ secrets.TWITTER_CLIENT_ID }} | ||
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | ||
TWITTER_CLIENT_SECRET: ${{ secrets.TWITTER_CLIENT_SECRET }} | ||
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} | ||
|
||
- name: Copy Artifacts to server | ||
uses: appleboy/[email protected] | ||
|
@@ -55,4 +60,6 @@ jobs: | |
cd ~/deployments/hng_boilerplate_nextjs | ||
tar -xzf boilerplate.tar.gz | ||
rm -f boilerplate.tar.gz | ||
git reset --hard | ||
git pull origin dev | ||
pm2 restart boilerplate-frontend --update-env |