diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 0bada92e..c67f0b17 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -14,7 +14,7 @@ jobs: version: latest run_install: | args: [--no-frozen-lockfile, --strict-peer-dependencies] - - run: git checkout gh-pages ./data/ + - run: mkdir ./data && git checkout gh-pages ./data/ - id: shouldContinue run: pnpx tsx src/checkNeedsPublish.ts - run: echo $OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a41fabf..ad42b04a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: version: latest run_install: | args: [--no-frozen-lockfile, --strict-peer-dependencies] - - run: git checkout gh-pages ./data/ + - run: mkdir ./data && git checkout gh-pages ./data/ - name: Set publishing config run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" env: