Bumps the actions-minor-patch group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Deploy Wiki
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "wiki/**"
|
|
- ".github/workflows/wiki-deploy.yml"
|
|
|
|
concurrency:
|
|
group: wiki-deploy
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy to Cloudflare Pages
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
deployments: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Deploy wiki
|
|
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
|
|
with:
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
# Deploy from inside wiki/ (config mode) so wrangler reads
|
|
# wiki/wrangler.toml and compiles wiki/functions/ as Pages Functions.
|
|
# Deploying the dir positionally (`pages deploy wiki`) uploads the
|
|
# functions as static files and never compiles them.
|
|
workingDirectory: wiki
|
|
wranglerVersion: "4.98.0"
|
|
command: pages deploy --project-name=vibetrading-wiki --branch=main
|
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|