Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ 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 }}
export_environment_variables: true

- 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' }}
Expand All @@ -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/*"
17 changes: 8 additions & 9 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

modules:
- name: openwisp-controller
dir_name: controller
Expand Down Expand Up @@ -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