mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-21 21:19:17 +00:00
refactor(ci): Remove CI post doc
This commit is contained in:
25
.github/workflows/publish-doc.yml
vendored
25
.github/workflows/publish-doc.yml
vendored
@@ -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 }}"
|
|
||||||
Reference in New Issue
Block a user