feat: new product illustrations #208
Workflow file for this run
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: Update Illustrations | |
on: | |
merge_group: | |
pull_request: | |
types: ["opened", "edited", "reopened", "synchronize"] | |
paths: | |
- packages/illustrations/** | |
push: | |
branches: | |
- main | |
paths: | |
- packages/illustrations/** | |
env: | |
BUCKET_NAME: scaleway-assets | |
BUCKET_REGION: fr-par | |
jobs: | |
## Export indexes to export new assets | |
update-illustrations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PAT }} | |
- uses: pnpm/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 22 | |
cache: "pnpm" | |
- run: pnpm install | |
- name: Update illustrations exports | |
run: pnpm run illustrations:update | |
- name: Git Auto Commit | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "chore(illustrations): automatic export update" | |
commit_user_name: Scaleway Bot | |
commit_user_email: [email protected] |