Skip to content

Commit

Permalink
fix: use official github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Feb 13, 2024
1 parent 78bc295 commit 1b1923d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy
on:
push:
tags:
- '**'
- '@caravan/coordinator**'

permissions:
contents: write
Expand All @@ -12,12 +12,23 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
# To use Turborepo Remote Caching
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Deploy
run: npx turbo run deploy
- name: Build
run: npx turbo run build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: ./apps/caravan-coordinator/build

0 comments on commit 1b1923d

Please sign in to comment.