-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into refactor/app-data-evaluator
- Loading branch information
Showing
18 changed files
with
244 additions
and
99 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
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
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 |
---|---|---|
|
@@ -17,10 +17,9 @@ env: | |
PARENT_DEPLOYMENT_REPO: ${{vars.PARENT_DEPLOYMENT_REPO}} | ||
PARENT_DEPLOYMENT_NAME: ${{vars.PARENT_DEPLOYMENT_NAME}} | ||
PARENT_DEPLOYMENT_BRANCH: ${{vars.PARENT_DEPLOYMENT_BRANCH}} | ||
DEPLOYMENT_PRIVATE_KEY: ${{secrets.DEPLOYMENT_PRIVATE_KEY}} | ||
FIREBASE_CONFIG: ${{secrets.FIREBASE_CONFIG}} | ||
GDRIVE_CREDENTIALS: ${{ secrets.GDRIVE_CREDENTIALS }} | ||
GDRIVE_TOKEN: ${{ secrets.GDRIVE_TOKEN }} | ||
PAT: ${{ secrets.PAT }} | ||
|
||
|
||
name: Perform content sync and create a PR | ||
|
@@ -33,11 +32,18 @@ on: | |
pr-title: | ||
description: Title for PR | ||
type: string | ||
default: sync content from google sheets | ||
default: sync content from Google Sheets | ||
pr-body: | ||
description: Description for PR | ||
type: string | ||
default: Automated PR creation from actions | ||
secrets: # Declare secrets you expect to receive | ||
GDRIVE_CREDENTIALS: | ||
required: true | ||
GDRIVE_TOKEN: | ||
required: true | ||
PAT: | ||
required: true | ||
|
||
jobs: | ||
build: | ||
|
@@ -67,11 +73,7 @@ jobs: | |
with: | ||
token: ${{ secrets.PAT }} | ||
path: ".idems_app/deployments/${{env.DEPLOYMENT_NAME}}" | ||
|
||
- name: Populate Encryption key | ||
if: env.DEPLOYMENT_PRIVATE_KEY != '' | ||
run: echo "${{env.DEPLOYMENT_PRIVATE_KEY}}" > ./.idems_app/deployments/${{env.DEPLOYMENT_NAME}}/encrypted/private.key | ||
|
||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
|
@@ -119,7 +121,7 @@ jobs: | |
- name: Create Pull Request | ||
uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ secrets.PAT }} | ||
token: ${{ env.PAT }} | ||
# Relative path under $GITHUB_WORKSPACE to the repository. Defaults to $GITHUB_WORKSPACE. | ||
path: .idems_app/deployments/${{env.DEPLOYMENT_NAME}} | ||
# The title of the pull request. | ||
|
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
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
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
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
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
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
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
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
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
Oops, something went wrong.