Skip to content

Commit

Permalink
test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcguin committed May 15, 2024
1 parent bc5e0eb commit c8d4ca8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
projects: [gig-smart, eighth-light]
# projects: [gig-smart, eighth-light]
include:
- project: gig-smart
package: gig-smart
- project: eighth-light
package: eighth-light
permissions:
contents: read
deployments: write
Expand Down Expand Up @@ -63,15 +68,15 @@ jobs:
run: npm ci --omit=dev
# Run a build step here if your project requires
- name: Build
run: npm run build --ws
run: npm run build -w ${{ matrix.package }}

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.DEPLOY_TOKEN }}
accountId: ${{ secrets.ACCOUNT_ID }}
projectName: ${{ matrix.projects }}
directory: ${{ matrix.projects }}/dist
projectName: ${{ matrix.project }}
directory: ${{ matrix.package }}/dist
# Optional: Enable this if you want to have GitHub Deployments triggered
# gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
Expand Down

0 comments on commit c8d4ca8

Please sign in to comment.