feat(fern-bot): begin tracking pull requests as well (#1452) #6
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: Deploy @fern-ui/fontawesome-cdn | |
env: | |
VERCEL_ORG_ID: team_6FKOM5nw037hv8g2mTk3gaH7 | |
VERCEL_PROJECT_ID: prj_MO0ayWSAeIoBYh8Cd13oigkd9knl | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: "buildwithfern" | |
on: | |
push: | |
branches: | |
- main | |
# Cancel previous workflows on previous push so we don't have deploys overwriting eachother here | |
concurrency: | |
group: icons.ferndocs.com | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: Production - icons.ferndocs.com | |
url: ${{ steps.deploy.outputs.deployment_url }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build & Deploy to Vercel | |
uses: ./.github/actions/vercel | |
id: deploy | |
with: | |
ref: ${{ github.ref_name || github.ref }} | |
package: "@fern-ui/fontawesome-cdn" | |
environment: production | |
force: true | |
promote: true |