diff --git a/.github/workflows/deploy_and_Integration_test.yml b/.github/workflows/deploy_and_Integration_test.yml index 09f0d00..8f36d12 100644 --- a/.github/workflows/deploy_and_Integration_test.yml +++ b/.github/workflows/deploy_and_Integration_test.yml @@ -25,12 +25,14 @@ jobs: - name: Login to Cloud Foundry run: | - wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add - - echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list - sudo apt-get update - sudo apt-get install cf8-cli + wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key \ + | sudo tee /etc/apt/trusted.gpg.d/cloudfoundry.asc + echo "deb https://packages.cloudfoundry.org/debian stable main" \ + | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list + sudo apt update + sudo apt install cf-cli cf login -a ${{ secrets.CF_API }} -u ${{ secrets.CF_USER }} -p ${{ secrets.CF_PASSWORD }} -o ${{ secrets.CF_ORG }} -s ${{ secrets.CF_SPACE }} - + - name: Clone and prepare projects & Build and deploy run: | git clone --single-branch --branch develop https://github.com/cap-js/sdm.git