diff --git a/.github/workflows/docker-image-doc.yml b/.github/workflows/docker-image-doc.yml new file mode 100644 index 0000000000..41d9dd0853 --- /dev/null +++ b/.github/workflows/docker-image-doc.yml @@ -0,0 +1,28 @@ +name: Rollup + +on: + push: + branches: [ "master" ] + + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [24.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: cd ./docs/sliver-docs + - run: npm install + - run: npm run offline + diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 535d4291ea..ba6efa9bae 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,15 +6,10 @@ name: Docker # documentation. on: - schedule: - - cron: '39 19 * * *' push: branches: [ "master" ] # Publish semver tags as releases. tags: [ 'v*.*.*' ] - pull_request: - branches: [ "master" ] - env: # Use docker.io for Docker Hub if empty # github.repository as / diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 0000000000..232e007c0f --- /dev/null +++ b/docs/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3-slim + +WORKDIR /opt + +COPY www.zip /opt/ + +RUN unzip -o www.zip + +EXPOSE 8000 + +ENTRYPOINT ["python", "-m", "http.server", "8000"] \ No newline at end of file