Fix Docker Deploy workflow (#1800)

This commit is contained in:
Dawa Ometto
2022-01-12 11:34:42 +01:00
committed by GitHub
parent 0c36cdf5ba
commit 82ce013cab
+2 -2
View File
@@ -12,11 +12,11 @@ jobs:
- name: Set deploy name to master
if: github.ref == 'refs/heads/master'
run: |
echo "DEPLOY_NAME=gollumwiki/gollum:master"
echo "DEPLOY_NAME=gollumwiki/gollum:master" >> $GITHUB_ENV
- name: Set deploy name to release version
if: startsWith(github.ref, 'refs/tags/')
run: |
echo "DEPLOY_NAME=gollumwiki/gollum:${{ github.ref_name }}"
echo "DEPLOY_NAME=gollumwiki/gollum:${{ github.ref_name }}" >> $GITHUB_ENV
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login