refactor(ci): Remove CI post doc

This commit is contained in:
Leifer Mendez
2022-11-28 17:01:18 +01:00
parent 37e857f093
commit 7463b8badc

View File

@@ -1,25 +0,0 @@
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish Docs
steps:
- name: Checkout
uses: actions/checkout@v3
- run: cd packages/docs && npm i && npm run build
- name: Publish Docs
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: bot-whatsapp-docs
directory: packages/docs/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
id: publish
- name: Deployment URL
run: echo "${{ steps.publish.outputs.url }}"