0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added upgrade from v1 to Ghost-CLI tests

no issue
This commit is contained in:
Daniel Lockyer 2020-06-30 08:34:48 +01:00
parent a0c7068127
commit 53f96245e4

View file

@ -82,7 +82,13 @@ jobs:
ghost install local -d $DIR ghost install local -d $DIR
ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
- name: Previous Major - name: Upgrade from v1
run: |
DIR=$(mktemp -d)
ghost install v1 --local -d $DIR
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
- name: Upgrade from v2
run: | run: |
DIR=$(mktemp -d) DIR=$(mktemp -d)
ghost install v2 --local -d $DIR ghost install v2 --local -d $DIR