|
|
@ -42,7 +42,7 @@ jobs:
|
|
|
|
- name: Create folder for storing images
|
|
|
|
- name: Create folder for storing images
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sudo mkdir -p /images
|
|
|
|
sudo mkdir -p /images
|
|
|
|
chmod sudo chmod 777 /images
|
|
|
|
sudo chmod 777 /images
|
|
|
|
- name: Configure images folder for caching
|
|
|
|
- name: Configure images folder for caching
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -259,7 +259,7 @@ jobs:
|
|
|
|
- name: Create folder for storing images
|
|
|
|
- name: Create folder for storing images
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sudo mkdir -p /images
|
|
|
|
sudo mkdir -p /images
|
|
|
|
chmod sudo chmod 777 /images
|
|
|
|
sudo chmod 777 /images
|
|
|
|
- name: Configure images folder for caching
|
|
|
|
- name: Configure images folder for caching
|
|
|
|
# For staging we do not deploy images. So we do not have to load them from cache.
|
|
|
|
# For staging we do not deploy images. So we do not have to load them from cache.
|
|
|
|
if: ${{ env.BRANCH != 'staging' }}
|
|
|
|
if: ${{ env.BRANCH != 'staging' }}
|
|
|
|