diff --git a/.github/workflows/project.yaml b/.github/workflows/project.yaml index eb923c18..fbef5267 100644 --- a/.github/workflows/project.yaml +++ b/.github/workflows/project.yaml @@ -90,6 +90,7 @@ jobs: # B. Setup authenticated Upsun CLI user. - name: "[setup_cli_auth] 1. Test: an authenticated CLI can retrieve bot user info." run: | + upsun login --max-age 0 echo "::notice::Verifying CLI auth - bot can access user info." RESULT=$(upsun auth:info username) ./$TEST_PATH/compare_strings.sh "$RESULT" "$UPSUN_USERNAME" "Authenticate Upsun CLI user" diff --git a/.upsun/config.yaml b/.upsun/config.yaml index 57d9c6c8..8c772b79 100644 --- a/.upsun/config.yaml +++ b/.upsun/config.yaml @@ -67,15 +67,15 @@ applications: # #add_service_start # ###################################################################################################################### # # Step 3: Add a service. Uncomment this section. -# ###################################################################################################################### -# relationships: -# redis_session: -# service: "redis_service" -# endpoint: "redis" +####################################################################################################################### +# relationships: +# redis_session: +# service: "redis_service" +# endpoint: "redis" -# services: -# redis_service: -# type: "redis:7.0" +#services: +# redis_service: +# type: "redis:7.0" # ###################################################################################################################### # #add_service_end