Merge pull request #2231 from sushiswap/phat-0 #374
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: "Sync CDN" | |
on: | |
push: | |
branches: | |
- master | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
sync-cdn: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
pnpm-version: [8.9.2] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v2.1.0 | |
with: | |
version: ${{ matrix.pnpm-version }} | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies & sync CDN | |
env: | |
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }} | |
run: pnpm install && pnpm run syncCDN | |
working-directory: "./logos/token-logos" |