Skip to content

update nextJS version (#108) #320

update nextJS version (#108)

update nextJS version (#108) #320

Workflow file for this run

name: CloudFlare Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '18'
package-manager-cache: false
- run: corepack enable
- run: yarn --immutable
- run: yarn build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: forest-website
directory: ./out
gitHubToken: ${{ secrets.GITHUB_TOKEN }}