Fix Docker Deploy workflow (#1800)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user