1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Update deploy-preview.yml (#4453)

This commit is contained in:
Jay Blackman 2025-05-01 08:49:38 +10:00 committed by GitHub
parent 4a9cfe6b2f
commit 42ad93cff8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,9 +32,18 @@ jobs:
- run: yarn install
- run: yarn build
- name: Deploy
- name: Deploy to Cloudflare
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }}
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --commit-dirty=true
- name: Add deployment comment
uses: thollander/actions-comment-pull-request@v3
with:
message: |
Preview URL: ${{ steps.deploy.outputs.deployment-url }}
reactions: eyes, rocket
only-update: true