circleci-workflows

CircleCI API behaving differently from github commit trigger?

試著忘記壹切 提交于 2019-12-24 22:04:55
问题 I'm running the cypress-example-kitchen sink app on CircleCI. This is my yaml config script: version: 2.1 orbs: cypress: cypress-io/cypress@1.0.1 workflows: build: jobs: - cypress/install: build: 'npm run build' - cypress/run: requires: - cypress/install start: 'npm start' This kicks off and passes just fine when I make a commit to my fork of the repo above. However, when I try to execute a CircleCI build programmatically, using curl -X POST https://circleci.com/api/v1.1/project/github

How to call circleCI environment variable in an Angular 2+ project?

浪子不回头ぞ 提交于 2019-12-01 11:30:35
问题 I have an angular project that has an api-keys.ts file that looks like this: export var masterFirebaseConfig = {apiKey: $fireBaseApiKey, authDomain: 'dataJitsu.firebaseapp.com',databaseURL: 'https://datajitsu.firebaseio.com',storageBucket: '',messagingSenderId: '495992924984'}; I think the $fireBaseApiKey is stored as an environment variable in my project on circleCI, as you can see in the picture here: However, I still get the following error when I run my configuration on circleCI: ERROR in