Skip to content

Solr YML setting now being utilized #35

Solr YML setting now being utilized

Solr YML setting now being utilized #35

Workflow file for this run

name: build-push-deploy
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-push:
uses: libops/actions/.github/workflows/build-push.yml@main
with:
image: "shared/docs"
permissions:
contents: read
id-token: write
secrets: inherit
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [build-push]
permissions:
contents: 'read'
id-token: 'write'
steps:
- uses: 'actions/checkout@v4'
- uses: 'google-github-actions/auth@v1'
with:
workload_identity_provider: ${{ secrets.GCLOUD_OIDC_POOL }}
service_account: ${{ secrets.GSA }}
- id: 'deploy'
uses: 'google-github-actions/deploy-cloudrun@v1'
with:
service: 'docs-production'
image: 'us-docker.pkg.dev/${{ secrets.GCLOUD_PROJECT }}/shared/docs:main'
project_id: ${{ secrets.GCLOUD_CR_PROJECT }}
region: ${{ secrets.GCLOUD_REGION }}
- name: 'Use output'
run: 'curl -v -s -o /dev/null "${{ steps.deploy.outputs.url }}"'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
with:
version: '>= 455.0.0'
- name: 'Invalidate cache'
run: |
gcloud compute url-maps invalidate-cdn-cache ${{ secrets.GCLOUD_LB }} \
--host docs.libops.io \
--path "/*" \
--project ${{ secrets.GCLOUD_CR_PROJECT }} \
--async