diff --git a/.env b/.env new file mode 100644 index 0000000..bad49b2 --- /dev/null +++ b/.env @@ -0,0 +1,8 @@ +# OpenWeatherMap API Key +# Get your free API key at: https://openweathermap.org/api +# Free tier includes 1,000 API calls per day +PUBLIC_OPENWEATHER_API_KEY=0938949580094b5d165c2e7cd23b7cf2 + +# Weather Location Configuration +PUBLIC_WEATHER_CITY=Rome +PUBLIC_WEATHER_COUNTRY_CODE=IT diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f3d059..3ae16ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,20 +22,6 @@ jobs: with: version: 10 - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Install dependencies run: pnpm install --frozen-lockfile @@ -45,6 +31,9 @@ jobs: - name: Build run: pnpm build + - name: Install rsync + run: apt-get update -qq && apt-get install -y -qq rsync openssh-client > /dev/null 2>&1 + - name: Setup SSH key run: | mkdir -p ~/.ssh