Skip to content

Commit

Permalink
ci: try TSURU_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Gum-Joe committed Aug 21, 2024
1 parent b7b3e20 commit a127ae8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}"

0 comments on commit a127ae8

Please sign in to comment.