mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 03:29:15 +00:00
docs(websitedoc): added new website
This commit is contained in:
24
.github/workflows/publish-doc.yml
vendored
Normal file
24
.github/workflows/publish-doc.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
name: Publish Docs
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build --if-present
|
||||
|
||||
- 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 }}
|
||||
Reference in New Issue
Block a user