Skip to content

review and improve webhook section (#6) #98

review and improve webhook section (#6)

review and improve webhook section (#6) #98

Workflow file for this run

name: Deploy Showpass Docs Site to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Deploy to GitHub Pages
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
npx gh-pages -d dist \-r https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/showpass/api-docs-guide.git \--cname dev.showpass.com