Skip to content

Update to newer cass-operator version for new Task Status fields (#1098) #110

Update to newer cass-operator version for new Task Status fields (#1098)

Update to newer cass-operator version for new Task Status fields (#1098) #110

name: Publish docs-staging.k8ssandra.io
on:
push:
branches:
- main
jobs:
build_and_publish:
name: Build and publish docs-staging.k8ssandra.io
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v3
name: Checkout code w/ submodules
with:
submodules: recursive
- uses: google-github-actions/[email protected]
name: Setup gcloud
with:
project_id: ${{ secrets.GCP_DOCS_STAGING_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_DOCS_STAGING_SA_KEY }}
export_default_credentials: true
- uses: actions/setup-node@v3
name: Setup Node
with:
node-version: 20.x
- run: npm install
- run: npm run clean
- run: npm run build:staging
- run: npm run deploy:staging
- name: Purge CDN Cache
env:
ZONE_ID: ${{ secrets.CF_ZONE_ID }}
BEARER_TOKEN: ${{ secrets.CF_BEARER_TOKEN }}
run: |
curl -X POST "https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/purge_cache" \
-H "Authorization: Bearer ${BEARER_TOKEN}" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}'