From 7f2ea0b2292f5eefd3012207eb7af590f499b7a0 Mon Sep 17 00:00:00 2001 From: Noel Palo Date: Mon, 11 Sep 2023 12:54:30 +0800 Subject: [PATCH 1/2] Update weather-app-ci-build.yml Update git action --- .github/workflows/weather-app-ci-build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/weather-app-ci-build.yml b/.github/workflows/weather-app-ci-build.yml index f4f9912..363f084 100644 --- a/.github/workflows/weather-app-ci-build.yml +++ b/.github/workflows/weather-app-ci-build.yml @@ -22,8 +22,11 @@ jobs: docker login -u $DOCKER_USER -p $DOCKER_KEY # Script Permissions - - name: Add Permission to Shell Scripts - run: chmod +x -R ./scripts/*.sh + - name: Setting up Permissions + run: | + chmod +x -R ./scripts/*.sh + mkdir -p ./bootstrap/cache/ + chmod 777 ./storage/ ./bootstrap/cache -R # Docker Images - name: Building the Docker Images @@ -58,6 +61,3 @@ jobs: # Teardown - name: Stop container and remove images run: ./scripts/down.sh -v - - - From e53a418609c2d2d7c0969628382e262f9b58e7c3 Mon Sep 17 00:00:00 2001 From: Noel Palo Date: Mon, 11 Sep 2023 13:02:31 +0800 Subject: [PATCH 2/2] Update weather-app-ci-build.yml fix git action error --- .github/workflows/weather-app-ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weather-app-ci-build.yml b/.github/workflows/weather-app-ci-build.yml index 363f084..6c67195 100644 --- a/.github/workflows/weather-app-ci-build.yml +++ b/.github/workflows/weather-app-ci-build.yml @@ -25,7 +25,7 @@ jobs: - name: Setting up Permissions run: | chmod +x -R ./scripts/*.sh - mkdir -p ./bootstrap/cache/ + mkdir -p ./storage/logs/ ./bootstrap/cache/ chmod 777 ./storage/ ./bootstrap/cache -R # Docker Images