Update sidebar NEWM icon and link to newm.io #84
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: Deploy NEWM Studio to Firebase Hosting on PR | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/firebase-hosting-pull-request-newm-studio.yml | |
- apps/studio/** | |
- packages/** | |
jobs: | |
build_and_preview: | |
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install | |
- run: npx nx build studio | |
env: | |
VITE_FACEBOOK_CLIENT_ID: ${{ secrets.FACEBOOK_CLIENT_ID }} | |
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
VITE_LINKEDIN_CLIENT_ID: ${{ secrets.LINKEDIN_CLIENT_ID }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
VITE_ENV: staging | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
id: deploy | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_NEWM_ARTIST_PORTAL }}" | |
projectId: "${{ secrets.FIREBASE_PROJECT_ID_NEWM_ARTIST_PORTAL }}" | |
target: studio | |
expires: 30d |