Skip to content

Commit

Permalink
chore: update ci for the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
z9r5 committed Jan 9, 2024
1 parent 887064a commit 286fbba
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs_cli_and_api_partials_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go 1.18
uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
directory: [ "client", "server", "e2e" ]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_broken_links_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare environment
working-directory: docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website_converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:

converge:
name: Converge site to Production
runs-on: tfprod-trdl
runs-on: ubuntu-latest-4-cores
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Converge
uses: werf/actions/[email protected]
with:
env: production
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_PROD }}
env:
WERF_DIR: "docs"
WERF_KUBE_CONTEXT: prod

notification:
name: Notification
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

converge:
name: Converge to Review
runs-on: tfprod-trdl
runs-on: ubuntu-latest-4-cores
if: github.event.label.name == 'review docs' || contains( github.event.pull_request.labels.*.name, 'review docs' )
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -30,6 +30,6 @@ jobs:
uses: werf/actions/[email protected]
with:
env: review-${{ github.event.number }}
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }}
env:
WERF_DIR: "docs"
WERF_KUBE_CONTEXT: dev
6 changes: 3 additions & 3 deletions .github/workflows/website_review_dismiss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

dismiss:
name: Dismiss
runs-on: tfprod-trdl
runs-on: ubuntu-latest-4-cores
if: github.event.label.name == 'review docs' || contains( github.event.pull_request.labels.*.name, 'review docs' )
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -25,7 +25,7 @@ jobs:
continue-on-error: true
with:
env: review-${{ github.event.number }}
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }}
env:
WERF_DIR: "docs"
WERF_KUBE_CONTEXT: dev
WERF_WITH_NAMESPACE: true
6 changes: 3 additions & 3 deletions .github/workflows/website_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:

converge:
name: Converge to Test
runs-on: tfprod-trdl
runs-on: ubuntu-latest-4-cores
if: github.event.label.name == 'test docs' || contains( github.event.pull_request.labels.*.name, 'test docs' )
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Converge
uses: werf/actions/[email protected]
with:
env: test
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }}
env:
WERF_DIR: "docs"
WERF_KUBE_CONTEXT: dev

0 comments on commit 286fbba

Please sign in to comment.