Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix(lodestar-v0): Rename Lodestar to Lodestar-v0 (#2924) #280

fix(lodestar-v0): Rename Lodestar to Lodestar-v0 (#2924)

fix(lodestar-v0): Rename Lodestar to Lodestar-v0 (#2924) #280

name: Upload assets
on:
push:
paths:
- 'src/apps/*/assets/*.png'
branches: ['main']
jobs:
upload-assets:
name: Upload assets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 'lts/hydrogen'
- name: Compile new apps images
run: |
mkdir -p tmp/assets/apps
node ./scripts/compile-app-assets.js tmp/assets/apps
- name: Upload new app images to GCS
uses: google-github-actions/upload-cloud-storage@v0
with:
credentials: ${{ secrets.STATIC_ASSETS_BUCKET_CREDENTIALS }}
parent: false
path: tmp/assets
destination: zapper-fi-assets