Add IP query param to group and engage endpoints #91
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Delete ReadMe Staging | |
on: | |
pull_request: | |
types: | |
- closed | |
paths: | |
- 'reference/**' | |
- 'openapi/**' | |
- '.github/actions/**' | |
- '.github/workflows/rdme-staging.yml' | |
jobs: | |
delete-staging: | |
if: ${{ github.event.pull_request.head.repo.full_name == 'mixpanel/docs' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo 📚 | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- name: Add node_modules to PATH | |
run: echo "$PWD/node_modules/.bin" >> $GITHUB_PATH | |
- name: Delete staging version | |
run: | | |
if rdme versions:delete 0.0-pr-${{ github.event.number }} --key=${{ secrets.README_API_KEY }}; then | |
echo "Version deleted successfully" | |
else | |
echo "Version doesn't exist, no need to delete" | |
fi |