data-in/data-out
platform
diff --git a/.github/workflows/node.js.yml b/.github/workflows/pages.yml similarity index 63% rename from .github/workflows/node.js.yml rename to .github/workflows/pages.yml index 1534b72..59346a1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/pages.yml @@ -30,4 +30,22 @@ jobs: working-directory: ./docs - run: cp index.html 404.html working-directory: ./docs - + - name: Upload pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: "docs/" + + deploy: + runs-on: ubuntu-latest + needs: build + permissions: + pages: write # to deploy to Pages + id-token: write + # Deploy to the github-pages environment + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} # to verify the deployment originates from an appropriate source + steps: + - name: Deploy artifact on Github Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/docs/404.html b/docs/404.html deleted file mode 100644 index d8c867f..0000000 --- a/docs/404.html +++ /dev/null @@ -1,14 +0,0 @@ -
- -