Skip to content

Commit

Permalink
install test build
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson committed Apr 16, 2024
1 parent c552529 commit 6c9ea88
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Test
# run: npm test
- name: Install
run: npm install
- name: Test
run: npm test
- name: Build
run: npm install && npm run ci
run: npm run ci
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: YOUR_PROJECT_NAME # e.g. 'my-project'
projectName: 'benhalverson' # e.g. 'my-project'
# directory: YOUR_DIRECTORY_OF_STATIC_ASSETS # e.g. 'dist'
directory: dist/cloudflare
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6c9ea88

Please sign in to comment.