From ba964df32cc1de7574d7e88e09c053d34792b34a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Mar 2026 07:45:35 +0000 Subject: [PATCH] chore: sync workflows from base-template --- .github/workflows/publish.yml | 11 +++++++++-- .github/workflows/re-pull.yml | 5 ++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b8750c6a..a9608a94 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,6 +44,13 @@ jobs: with: ref: ${{ github.event.inputs.stack_env }} + - name: Checkout scripts from main + uses: actions/checkout@v4 + with: + ref: main + path: .ci + sparse-checkout: .github/workflows/script + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -79,7 +86,7 @@ jobs: - name: Notify success if: success() - run: bash ./.github/workflows/script/notify.sh + run: bash ./.ci/.github/workflows/script/notify.sh env: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} @@ -89,7 +96,7 @@ jobs: - name: Notify failure if: failure() - run: bash ./.github/workflows/script/notify.sh + run: bash ./.ci/.github/workflows/script/notify.sh env: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} diff --git a/.github/workflows/re-pull.yml b/.github/workflows/re-pull.yml index 470a3603..e2110e79 100644 --- a/.github/workflows/re-pull.yml +++ b/.github/workflows/re-pull.yml @@ -25,8 +25,11 @@ jobs: contents: read packages: write steps: - - name: Checkout repository + - name: Checkout scripts from main uses: actions/checkout@v4 + with: + ref: main + sparse-checkout: .github/workflows/script - name: Deploy ke Portainer run: bash ./.github/workflows/script/re-pull.sh