A few changes on the About us page #91
This file contains hidden or 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: www.tlip.io Preview Build and Deploy | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Restore root node_modules from cache | |
| id: node-cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ hashFiles('package-lock.json') }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Create Dummy Env | |
| run: cp .env.example .env | |
| - name: Run Dist | |
| run: npm run dist | |
| # Install older version of Vercel CLI until this issue is fixed | |
| # https://github.com/BetaHuhn/deploy-to-vercel-action/issues/393 | |
| - name: Install Vercel CLI | |
| run: npm install -g [email protected] | |
| - name: Deploy to Vercel | |
| uses: BetaHuhn/[email protected] | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }} | |
| PRODUCTION: false |