diff options
author | 2020-11-19 17:31:12 +0100 | |
---|---|---|
committer | 2020-11-19 17:31:12 +0100 | |
commit | b287165e01c78e36af2cfbc19366555359ffdc18 (patch) | |
tree | 69cc19d1d04415de146bd1978cc0e61e63559e5e | |
parent | Merge pull request #1291 from python-discord/sebastiaan/backend/fix-deploy-stage (diff) |
Checkout code so we can deploy
-rw-r--r-- | .github/workflows/deploy.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0e9d3e079..90555a8ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,15 @@ jobs: runs-on: ubuntu-latest steps: + - name: Create SHA Container Tag + id: sha_tag + run: | + tag=$(cut -c 1-7 <<< $GITHUB_SHA) + echo "::set-output name=tag::$tag" + + - name: Checkout code + uses: actions/checkout@v2 + - name: Authenticate with Kubernetes uses: azure/k8s-set-context@v1 with: |