diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74e2d8fb..dc1217ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} IMPAAS_APP_NAME: cpp-connect - IMPAAS_DEPLOY_TOKEN: ${{ secrets.IMPAAS_DEPLOY_TOKEN }} + TSURU_TOKEN: ${{ secrets.IMPAAS_DEPLOY_TOKEN }} on: push: @@ -125,8 +125,8 @@ jobs: - name: Add ImPaaS target run: tsuru target add impaas https://impaas.uk -s - name: Write token to file to login - run: echo $IMPAAS_DEPLOY_TOKEN > ~/.tsuru/token + run: echo $TSURU_TOKEN > ~/.tsuru/token - name: Check token present - run: cat ~/.tsuru/token && wc -c ~/.tsuru/token + run: wc -c ~/.tsuru/token - name: Deploy app run: tsuru app deploy -a $IMPAAS_APP_NAME --dockerfile Dockerfile --message "GitHub deployment for commit ${{ github.sha }} branch ${{ github.ref }}"