diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3dede83..7d597dfd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,14 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4.0.3 - with: - node-version: '16' - - uses: bahmutov/npm-install@v1.8.17 + - uses: bahmutov/npm-install@v1.10.2 - run: yarn build - uses: actions/upload-artifact@v4 with: - name: build - path: build + name: dist + path: dist github_pages: needs: build @@ -31,10 +29,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: - name: build - path: build + name: dist + path: dist - uses: actions/setup-node@v4.0.3 - run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: npx -y -p gh-pages@3.1.0 gh-pages -d build -u "github-actions-bot " \ No newline at end of file + - run: npx -y -p gh-pages@3.1.0 gh-pages -d dist -u "github-actions-bot " \ No newline at end of file