diff --git a/.github/workflows/deploy-resources.yml b/.github/workflows/deploy-resources.yml
index baa87a6c5d..e278d1f8a5 100644
--- a/.github/workflows/deploy-resources.yml
+++ b/.github/workflows/deploy-resources.yml
@@ -6,9 +6,6 @@ on:
required: true
type: string
-env:
- DEPLOY_ENV: ${{ inputs.branch }}
-
jobs:
deploy-resources:
if: (github.repository == 'Adventech/sabbath-school-resources')
@@ -34,16 +31,28 @@ jobs:
working-directory: ops/deploy/creds
- run: node ops/deploy/deploy-documents.js
name: Deploy documents
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: node ops/deploy/deploy-sections.js
name: Deploy categories
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: node ops/deploy/deploy-categories.js
name: Deploy categories
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: node ops/deploy/deploy-authors.js
name: Deploy authors
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: node ops/deploy/deploy-resources.js
name: Deploy resources
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: node ops/deploy/deploy-languages.js
name: Deploy languages
+ env:
+ DEPLOY_ENV: ${{ inputs.branch }}
- run: aws s3 cp dist/ s3://sabbath-school`[[ "${{ inputs.branch }}" = "stage" ]] && echo '-stage'`.adventech.io --acl "public-read" --region us-east-1 --no-progress --recursive
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
diff --git a/ops/deploy/deploy-resources.js b/ops/deploy/deploy-resources.js
index 10410968e3..8adcfdbdb9 100644
--- a/ops/deploy/deploy-resources.js
+++ b/ops/deploy/deploy-resources.js
@@ -150,7 +150,7 @@ let processResources = async function (resourceType) {
direction: recentFeedGroup.direction || FEED_DIRECTION.HORIZONTAL,
}
console.log(`deploying recent feed group`, recentFeedGroupAPI)
- await database.collection(FIREBASE_DATABASE_LANGUAGES).doc(language).set(recentFeedGroupAPI);
+ await database.collection(FIREBASE_DATABASE_LANGUAGES).doc(language).collection("feed").doc("recent").set(recentFeedGroupAPI);
}
resourceFeed = resourceFeed.filter(g => g.resources.length).map(g => {
diff --git a/src/en/devo/test/content/blocks.md b/src/en/devo/test/content/blocks.md
index 24523c0fea..8f0838f20a 100644
--- a/src/en/devo/test/content/blocks.md
+++ b/src/en/devo/test/content/blocks.md
@@ -113,7 +113,7 @@ Split this one
Hello 1 In the beginning God created the heavens and the earth.
-Hello 2 1 In the beginning God created the heavens and the earth.
+Hello 1 In the beginning God created the heavens and the earth.
1. First
2. Second