This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
feat(dinero): Add Dinero LSTs pxETH and apxETH (#3141) #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |