fix: change to apt-get and change cache:flush to release from current, to work on first release
This commit is contained in:
@@ -68,8 +68,8 @@ jobs:
|
||||
rm typo3.tar.gz
|
||||
- name: Install ssh agent and rsync
|
||||
run: |
|
||||
apt update
|
||||
apt install -y openssh-client rsync
|
||||
apt-get update
|
||||
apt-get install -y openssh-client rsync
|
||||
- name: Upload release
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
@@ -93,8 +93,8 @@ jobs:
|
||||
rm typo3.tar.gz
|
||||
- name: Install ssh agent and rsync
|
||||
run: |
|
||||
apt update
|
||||
apt install -y openssh-client rsync
|
||||
apt-get update
|
||||
apt-get install -y openssh-client rsync
|
||||
- name: Switch to release
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
@@ -119,8 +119,8 @@ jobs:
|
||||
rm typo3.tar.gz
|
||||
- name: Install ssh agent and rsync
|
||||
run: |
|
||||
apt update
|
||||
apt install -y openssh-client rsync
|
||||
apt-get update
|
||||
apt-get install -y openssh-client rsync
|
||||
- name: Deploy
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
|
||||
@@ -26,8 +26,8 @@ jobs:
|
||||
composer validate --no-check-publish && composer install --prefer-dist --no-progress --ignore-platform-reqs
|
||||
- name: Install ssh agent, rsync
|
||||
run: |
|
||||
apt update
|
||||
apt install -y openssh-client rsync
|
||||
apt-get update
|
||||
apt-get install -y openssh-client rsync
|
||||
- name: Switch to release
|
||||
uses: deployphp/action@v1
|
||||
with:
|
||||
|
||||
@@ -56,7 +56,7 @@ set('rsync', [
|
||||
]);
|
||||
|
||||
task('typo3:cache:flush', function() {
|
||||
cd('current');
|
||||
cd('{{release_path}}');
|
||||
run('{{bin/php}} bin/typo3 cache:flush');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user