File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 13
13
14
14
- run : yarn install
15
15
16
+ - name : Set Sched's API token env
17
+ run : echo "SCHED_ACCESS_TOKEN=${{ secrets.SCHED_ACCESS_TOKEN }}" >> .env.production
18
+
16
19
# Verify it compiles
17
20
- run : yarn build
18
21
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import { updateCodeData } from "./scripts/update-code-data/update-code-data"
7
7
import { organizeCodeData } from "./scripts/update-code-data/organize-code-data"
8
8
import { sortCodeData } from "./scripts/update-code-data/sort-code-data"
9
9
10
+ require ( "dotenv" ) . config ( {
11
+ path : `.env.${ process . env . NODE_ENV } ` ,
12
+ } )
13
+
10
14
export const createSchemaCustomization : GatsbyNode [ "createSchemaCustomization" ] =
11
15
async ( { actions } ) => {
12
16
const gql = String . raw
You can’t perform that action at this time.
0 commit comments