Skip to content

Commit

Permalink
showcase website changes (#1080)
Browse files Browse the repository at this point in the history
* website template

* Add website changes

Co-authored-by: Arthur Beck <averse.abfun@gmail.com>
Co-authored-by: Aryan Kapoor <Aryankpoor@users.noreply.github.com>
Co-authored-by: Max Wofford <max@maxwofford.com>

---------

Co-authored-by: Arthur Beck <averse.abfun@gmail.com>
Co-authored-by: Aryan Kapoor <Aryankpoor@users.noreply.github.com>
Co-authored-by: Max Wofford <max@maxwofford.com>
  • Loading branch information
4 people authored Sep 8, 2024
1 parent ff66c41 commit cb22eb6
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 192 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on: [push]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3

# Run a build step here if your project requires

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: YOUR_ACCOUNT_ID
projectName: YOUR_PROJECT_NAME
directory: YOUR_BUILD_OUTPUT_DIRECTORY
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
branch: main
# Optional: Change the working directory
workingDirectory: my-site
# Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`
wranglerVersion: '3'
1 change: 1 addition & 0 deletions showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"svelte-preprocess-import-assets": "^1.1.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3"
Expand Down
24 changes: 24 additions & 0 deletions showcase/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cb22eb6

Please sign in to comment.