Skip to content

Commit

Permalink
deploy without action
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson committed Apr 16, 2024
1 parent 7aea2d2 commit df887d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,4 @@ jobs:
- name: Build
run: npm run ci
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: benhalverson
# directory: YOUR_DIRECTORY_OF_STATIC_ASSETS # e.g. 'dist'
directory: dist/cloudflare
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: 'main'
run: npm run deploy:ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test": "ng test --watch=false --browsers=ChromeHeadless",
"serve:ssr:benhalverson": "node dist/benhalverson/server/server.mjs",
"process": "node ./tools/copy-files.mjs && node ./tools/alter-polyfills.mjs",
"deploy": "npm run build && wrangler pages deploy dist/cloudflare"
"deploy": "npm run build && wrangler pages deploy dist/cloudflare",
"deploy:ci": "wrangler pages deploy dist/cloudflare"
},
"private": true,
"dependencies": {
Expand Down

0 comments on commit df887d2

Please sign in to comment.