aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-19 17:31:12 +0100
committerGravatar GitHub <[email protected]>2020-11-19 17:31:12 +0100
commitb287165e01c78e36af2cfbc19366555359ffdc18 (patch)
tree69cc19d1d04415de146bd1978cc0e61e63559e5e
parentMerge pull request #1291 from python-discord/sebastiaan/backend/fix-deploy-stage (diff)
Checkout code so we can deploy
-rw-r--r--.github/workflows/deploy.yml9
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: