Fix Docker Deploy workflow (#1800)
This commit is contained in:
@@ -12,11 +12,11 @@ jobs:
|
|||||||
- name: Set deploy name to master
|
- name: Set deploy name to master
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
echo "DEPLOY_NAME=gollumwiki/gollum:master"
|
echo "DEPLOY_NAME=gollumwiki/gollum:master" >> $GITHUB_ENV
|
||||||
- name: Set deploy name to release version
|
- name: Set deploy name to release version
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: |
|
run: |
|
||||||
echo "DEPLOY_NAME=gollumwiki/gollum:${{ github.ref_name }}"
|
echo "DEPLOY_NAME=gollumwiki/gollum:${{ github.ref_name }}" >> $GITHUB_ENV
|
||||||
- name: Check Out Repo
|
- name: Check Out Repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Login
|
- name: Login
|
||||||
|
|||||||
Reference in New Issue
Block a user