feat: custom status and svg logo #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Website | |
on: | |
push: | |
paths: | |
- 'apps/web/**' | |
- '.github/workflows/cd_website.yml' | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Deploy | |
uses: trufflehq/truffle-packages/actions/pages@2ae2865c1a7e691693fac612a756359213ea91ca | |
with: | |
# The script to build your site (default: `build`) (joins with `yarn workspace $workspace_name`) | |
build_script: build | |
# Cloudflare Account ID | |
cloudflare_account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
# Cloudflare API Token | |
cloudflare_api_token: ${{ secrets.CLOUDFLARE_PAGES_API_KEY }} | |
# The directory of static assets to upload (default: `dist`) | |
directory: dist | |
# GitHub Token | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Optional: The script to run before building your site | |
prebuild_script: yarn build | |
# Optional: The branch to deploy to production | |
production_branch: main | |
# The name of the Cloudflare Pages project | |
project_name: trythoth | |
# The name of the yarn workspace being deployed | |
workspace_name: web |