Fix ci
This commit is contained in:
parent
6e54f3122d
commit
a25993c52a
@ -25,11 +25,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Set Destination Folder if MASTER
|
- name: Set Destination Folder if MASTER
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
run: echo "DEST_FOLDER=/srv/www/cz/pkmples/www" >> $DEST_FOLDER
|
run: echo "DEST_FOLDER=/srv/www/cz/pkmples/www" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set Destination Folder if DEV
|
- name: Set Destination Folder if DEV
|
||||||
if: ${{ github.ref == 'refs/heads/dev' }}
|
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
run: echo "DEST_FOLDER=/srv/www/cz/pkmples/dev" >> $DEST_FOLDER
|
run: echo "DEST_FOLDER=/srv/www/cz/pkmples/dev" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: AEnterprise/rsync-deploy@v1.0.2
|
uses: AEnterprise/rsync-deploy@v1.0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user