diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..731974c3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,28 @@ +name: Deploy to GitHub pages +on: + push: + branches: + - master +jobs: + publish-docs: + runs-on: ubuntu-latest + steps: + # https://github.com/actions/checkout + - name: Checkout 🛎️ + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: NPM install 📦 + uses: bahmutov/npm-install@v1 + + - name: Build docs 🏗 + run: export NODE_OPTIONS=--openssl-legacy-provider && npm run docs:build + + # https://github.com/marketplace/actions/github-pages-action + - name: Deploy 🚀 + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/.vuepress/dist + cname: docs.bagisto.com diff --git a/docs/.vuepress/dist/2.x/products/bundle.html b/docs/.vuepress/dist/2.x/products/bundle.html index 30fb2a6c..7aada521 100644 --- a/docs/.vuepress/dist/2.x/products/bundle.html +++ b/docs/.vuepress/dist/2.x/products/bundle.html @@ -8,7 +8,7 @@ - +
@@ -37,6 +37,6 @@ → - +