diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50dffb7e..49846f69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Setup Google Cloud if: ${{ github.event_name=='push' }} - uses: 'google-github-actions/auth@v2' + uses: "google-github-actions/auth@v2" with: credentials_json: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }} project_id: ${{ secrets.GCS_PROJECT_ID }} @@ -52,7 +52,7 @@ jobs: - name: Set up Cloud SDK if: ${{ github.event_name=='push' }} - uses: 'google-github-actions/setup-gcloud@v2' + uses: "google-github-actions/setup-gcloud@v2" - name: Deploy pages to openwisp.io/docs if: ${{ github.event_name=='push' }} @@ -68,18 +68,18 @@ jobs: if: ${{ needs.build.result == 'success' }} steps: - - name: Authenticate to Google Cloud - if: ${{ github.event_name=='push' }} - uses: google-github-actions/auth@v2 - with: - credentials_json: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }} - project_id: ${{ secrets.GCS_PROJECT_ID }} - export_environment_variables: true + - name: Authenticate to Google Cloud + if: ${{ github.event_name=='push' }} + uses: google-github-actions/auth@v2 + with: + credentials_json: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }} + project_id: ${{ secrets.GCS_PROJECT_ID }} + export_environment_variables: true - - name: Invalid CDN cache on GCP - if: ${{ github.event_name=='push' }} - uses: stefanodotit/github-actions-invalidate-gcp-cdn@v1 - with: + - name: Invalid CDN cache on GCP + if: ${{ github.event_name=='push' }} + uses: stefanodotit/github-actions-invalidate-gcp-cdn@v1 + with: load_balancer_name: ${{ secrets.GCS_MAIN_LOAD_BALANCER_NAME }} host: openwisp.io - path: '/docs/*' + path: "/docs/*" diff --git a/config.yml b/config.yml index dd7686b4..f6b84951 100644 --- a/config.yml +++ b/config.yml @@ -1,5 +1,4 @@ --- - modules: - name: openwisp-controller dir_name: controller @@ -32,22 +31,22 @@ modules: versions: - name: dev module_branch: master - - name: '24.11' - docs_branch: '24.11' - module_branch: '1.1' + - name: "24.11" + docs_branch: "24.11" + module_branch: "1.1" modules: - name: ansible-openwisp2 - branch: '24.11' + branch: "24.11" dir_name: ansible - name: docker-openwisp - branch: '24.11' + branch: "24.11" dir_name: docker - name: openwrt-openwisp-monitoring - branch: '0.2' + branch: "0.2" dir_name: openwrt-monitoring-agent - - name: '22.05' + - name: "22.05" overwrite_modules: true modules: - name: openwisp-docs - branch: 'v22.05' + branch: "v22.05" dir_name: openwisp-docs