diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 990dfa4..4b41273 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,16 +9,16 @@ on: - main jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: "20.x" - - run: npm ci - - run: npm test + # test: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Use Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: "20.x" + # - run: npm ci + # - run: npm test build: runs-on: ubuntu-latest @@ -28,14 +28,20 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" - - run: npm ci - - run: npm run build - - name: Archive production artifacts - uses: actions/upload-artifact@v4 + # - run: npm ci + # - run: npm run build + # - name: Archive production artifacts + # uses: actions/upload-artifact@v4 + # with: + # name: github-pages + # path: | + # build/**/* + - run: mkdir -p path/to/artifact + - run: echo hello > path/to/artifact/world.txt + - uses: actions/upload-artifact@v4 with: - name: github-pages - path: | - build/**/* + name: my-artifact + path: path/to/artifact/world.txt # deploy: # needs: [build, test]