File tree Expand file tree Collapse file tree 6 files changed +20
-1
lines changed
Expand file tree Collapse file tree 6 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1616 steps :
1717 - checkout
1818 - run : (cd functions && npm ci)
19+ - run : PROJECT=pokeapi-test-b6137 sh -x scripts/test.sh
1920
2021 deploy :
2122 executor : node
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 0.2.0" ,
3+ "configurations" : [
4+ {
5+ "type" : " node" ,
6+ "request" : " attach" ,
7+ "name" : " deploy function debugger" ,
8+ "port" : 9229
9+ }
10+ ]
11+ }
Original file line number Diff line number Diff line change 1+ # Exported firebase functions:config:export command on 10/06/2024
2+ # .env.local file contains environment variables for the Functions Emulator.
3+ NETWORK_BASE_URL = " http://localhost:5000" # from network.base_url
Original file line number Diff line number Diff line change 1+ # Exported firebase functions:config:export command on 10/06/2024
2+ NETWORK_BASE_URL="https://pokeapi.co"
Original file line number Diff line number Diff line change 1+ # Exported firebase functions:config:export command on 10/06/2024
2+ NETWORK_BASE_URL="https://pokeapi-test-b6137.firebaseapp.com"
Original file line number Diff line number Diff line change 44
55mkdir -p public
66
7- Get stored artifacts from api-data and unpack into the ' public' directory
7+ # Get stored artifacts from api-data and unpack into the 'public' directory
88wget -q -O ' _gen.tar.gz' " $( curl -H " Circle-Token: $CIRCLECI_API_TOKEN_NARAMSIM " -s https://circleci.com/api/v1.1/project/github/PokeAPI/api-data/latest/artifacts? branch=staging | jq -r .[0].url) "
99if [ $? -ne 0 ]; then
1010 echo " Couldn't find the latest api-data .tar.gz for the branch staging"
You can’t perform that action at this time.
0 commit comments