Skip to content

disable preflight for now #1198

disable preflight for now

disable preflight for now #1198

Workflow file for this run

name: Deploy the blog
on:
push:
jobs:
preflight:
runs-on: ubuntu-22.04
strategy:
matrix:
command:

Check failure on line 11 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy the blog

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 11, Col: 17): Unexpected value ''
# - test --verbose
# - lint
# - typecheck
steps:
- uses: actions/checkout@v4
with: { token: "${{ secrets.GITHUB_TOKEN }}" }
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
cache: "yarn"
cache-dependency-path: "yarn.lock"
- run: yarn install
- run: yarn ${{matrix.command}}
deploy:
runs-on: ubuntu-22.04
needs:
- preflight
steps:
- uses: actions/checkout@v4
with: { token: "${{ secrets.GITHUB_TOKEN }}" }
# - uses: cachix/install-nix-action@v20
# with:
# install_url: https://releases.nixos.org/nix/nix-2.9.1/install
# extra_nix_config: |
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# experimental-features = nix-command flakes
# - run: nix build .#blog
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
cache: "yarn"
cache-dependency-path: "yarn.lock"
- run: yarn install
- run: yarn build
- uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: blog-nobbz-dev
# directory: ./result
directory: ./public
gitHubToken: ${{ secrets.GITHUB_TOKEN }}