diff --git a/.github/workflows/deploy-docs-test.yml b/.github/workflows/deploy-docs-test.yml index 51b11b815..902ec6e71 100644 --- a/.github/workflows/deploy-docs-test.yml +++ b/.github/workflows/deploy-docs-test.yml @@ -29,8 +29,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - + - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --filter fdm-docs - name: Build website - run: pnpm build \ No newline at end of file + run: pnpm build-docs \ No newline at end of file diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 5842d6606..91f9822b7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -31,14 +31,14 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --filter fdm-docs - name: Build website - run: pnpm build + run: pnpm build-docs - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: - path: build + path: ./fdm-docs/build deploy: name: Deploy to GitHub Pages diff --git a/fdm-docs/CHANGELOG.md b/fdm-docs/CHANGELOG.md index 163b9cefb..86a2dc616 100644 --- a/fdm-docs/CHANGELOG.md +++ b/fdm-docs/CHANGELOG.md @@ -1,5 +1,11 @@ # fdm-docs +## 0.1.1 + +### Patch Changes + +- Fix deployment to GitHub Pages + ## 0.1.0 ### Minor Changes diff --git a/fdm-docs/docusaurus.config.ts b/fdm-docs/docusaurus.config.ts index 20346489b..aa55ae160 100644 --- a/fdm-docs/docusaurus.config.ts +++ b/fdm-docs/docusaurus.config.ts @@ -8,10 +8,10 @@ const config: Config = { favicon: 'img/favicon.ico', // Set the production url of your site here - url: 'https://your-docusaurus-site.example.com', + url: 'https://svenvw.github.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: '/fdm/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. diff --git a/fdm-docs/package.json b/fdm-docs/package.json index 363cb7d7e..f2b6641a2 100644 --- a/fdm-docs/package.json +++ b/fdm-docs/package.json @@ -1,12 +1,13 @@ { "name": "fdm-docs", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", "watch-docs": "pnpm start", "build": "docusaurus build", + "build-docs": "docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", diff --git a/package.json b/package.json index 4f2ec8d00..2bf25dfa0 100644 --- a/package.json +++ b/package.json @@ -9,12 +9,13 @@ "scripts": { "test": "turbo run test", "build": "turbo run build", + "build-docs": "turbo run build-docs", "watch": "turbo run watch", - "publih-packages": "turbo run build test && changeset version && changeset publish" + "publish-packages": "turbo run build test && changeset version && changeset publish" }, "devDependencies": { - "turbo": "^2.2.1", - "@changesets/cli": "^2.27.9" + "@changesets/cli": "^2.27.9", + "turbo": "^2.2.3" }, "packageManager": "pnpm@9.12.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba5c907ac..e6fd952fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^2.27.9 version: 2.27.9 turbo: - specifier: ^2.2.1 - version: 2.2.1 + specifier: ^2.2.3 + version: 2.2.3 fdm-calculator: dependencies: @@ -5671,38 +5671,38 @@ packages: tslib@2.8.0: resolution: {integrity: sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==} - turbo-darwin-64@2.2.1: - resolution: {integrity: sha512-jltMdSQ+7rQDVaorjW729PCw6fwAn1MgZSdoa0Gil7GZCOF3SnR/ok0uJw6G5mdm6F5XM8ZTlz+mdGzBLuBRaA==} + turbo-darwin-64@2.2.3: + resolution: {integrity: sha512-Rcm10CuMKQGcdIBS3R/9PMeuYnv6beYIHqfZFeKWVYEWH69sauj4INs83zKMTUiZJ3/hWGZ4jet9AOwhsssLyg==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.2.1: - resolution: {integrity: sha512-RHW0c1NonsJXXlutlZeunmhLanf0/WbeizFfYgWuTEaJE4MbbhyD/RG4Fm/7iob5kxQ4Es2TzfDPqyMqpIO0GA==} + turbo-darwin-arm64@2.2.3: + resolution: {integrity: sha512-+EIMHkuLFqUdJYsA3roj66t9+9IciCajgj+DVek+QezEdOJKcRxlvDOS2BUaeN8kEzVSsNiAGnoysFWYw4K0HA==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.2.1: - resolution: {integrity: sha512-RasrjV+i2B90hoR8r6B2Btf2/ebNT5MJbhkpY0G1EN06E1IkjCKfAXj/1Dwmjy9+Zo0NC2r69L3HxRrtpar8jQ==} + turbo-linux-64@2.2.3: + resolution: {integrity: sha512-UBhJCYnqtaeOBQLmLo8BAisWbc9v9daL9G8upLR+XGj6vuN/Nz6qUAhverN4Pyej1g4Nt1BhROnj6GLOPYyqxQ==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.2.1: - resolution: {integrity: sha512-LNkUUJuu1gNkhlo7Ky/zilXEiajLoGlWLiKT1XV5neEf+x1s+aU9Hzd/+HhSVMiyI8l7z6zLbrM1a6+v4co/SQ==} + turbo-linux-arm64@2.2.3: + resolution: {integrity: sha512-hJYT9dN06XCQ3jBka/EWvvAETnHRs3xuO/rb5bESmDfG+d9yQjeTMlhRXKrr4eyIMt6cLDt1LBfyi+6CQ+VAwQ==} cpu: [arm64] os: [linux] - turbo-windows-64@2.2.1: - resolution: {integrity: sha512-Mn5tlFrLzlQ6tW6wTWNlyT1osXuDUg0VT1VAjRpmRXlK2Zi3oKVVG0rs0nkkq4rmuheryD1xyuGPN9nFKbAn/A==} + turbo-windows-64@2.2.3: + resolution: {integrity: sha512-NPrjacrZypMBF31b4HE4ROg4P3nhMBPHKS5WTpMwf7wydZ8uvdEHpESVNMOtqhlp857zbnKYgP+yJF30H3N2dQ==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.2.1: - resolution: {integrity: sha512-bvYOJ3SMN00yiem+uAqwRMbUMau/KiMzJYxnD0YkFo6INc08z8gZi5g0GLZAR7g/L3JegktX3UQW2cJvryjvLg==} + turbo-windows-arm64@2.2.3: + resolution: {integrity: sha512-fnNrYBCqn6zgKPKLHu4sOkihBI/+0oYFr075duRxqUZ+1aLWTAGfHZLgjVeLh3zR37CVzuerGIPWAEkNhkWEIw==} cpu: [arm64] os: [win32] - turbo@2.2.1: - resolution: {integrity: sha512-clZFkh6U6NpsLKBVZYRjlZjRTfju1Z5STqvFVaOGu5443uM75alJe1nCYH9pQ9YJoiOvXAqA2rDHWN5kLS9JMg==} + turbo@2.2.3: + resolution: {integrity: sha512-5lDvSqIxCYJ/BAd6rQGK/AzFRhBkbu4JHVMLmGh/hCb7U3CqSnr5Tjwfy9vc+/5wG2DJ6wttgAaA7MoCgvBKZQ==} hasBin: true type-check@0.4.0: @@ -12923,32 +12923,32 @@ snapshots: tslib@2.8.0: {} - turbo-darwin-64@2.2.1: + turbo-darwin-64@2.2.3: optional: true - turbo-darwin-arm64@2.2.1: + turbo-darwin-arm64@2.2.3: optional: true - turbo-linux-64@2.2.1: + turbo-linux-64@2.2.3: optional: true - turbo-linux-arm64@2.2.1: + turbo-linux-arm64@2.2.3: optional: true - turbo-windows-64@2.2.1: + turbo-windows-64@2.2.3: optional: true - turbo-windows-arm64@2.2.1: + turbo-windows-arm64@2.2.3: optional: true - turbo@2.2.1: + turbo@2.2.3: optionalDependencies: - turbo-darwin-64: 2.2.1 - turbo-darwin-arm64: 2.2.1 - turbo-linux-64: 2.2.1 - turbo-linux-arm64: 2.2.1 - turbo-windows-64: 2.2.1 - turbo-windows-arm64: 2.2.1 + turbo-darwin-64: 2.2.3 + turbo-darwin-arm64: 2.2.3 + turbo-linux-64: 2.2.3 + turbo-linux-arm64: 2.2.3 + turbo-windows-64: 2.2.3 + turbo-windows-arm64: 2.2.3 type-check@0.4.0: dependencies: diff --git a/turbo.json b/turbo.json index 4fea9fdb6..2e166313b 100644 --- a/turbo.json +++ b/turbo.json @@ -3,12 +3,20 @@ "tasks": { "build": { "outputs": [ - "dist/**" + "dist/**", "build/**" ], "dependsOn": [ "^build" ] }, + "build-docs": { + "outputs": [ + "build/**" + ], + "dependsOn": [ + "^build-docs" + ] + }, "check-types": { "dependsOn": [ "^check-types"