Skip to content

Commit

Permalink
Update vps.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jacky-htg authored Sep 12, 2020
1 parent e770565 commit c032302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/vps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:

name: Deploy to VPS

env:
VERSION: $(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')

jobs:
build:
name: Build
Expand All @@ -13,9 +16,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: set docker version
run: echo VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')

- name: build docker
run: docker build -t jackyhtg/erp-prod:$VERSION .

Expand Down

0 comments on commit c032302

Please sign in to comment.