chore: sync workflows from base-template

This commit is contained in:
github-actions[bot]
2026-03-09 07:45:35 +00:00
parent df3f382a97
commit ba964df32c
2 changed files with 13 additions and 3 deletions

View File

@@ -44,6 +44,13 @@ jobs:
with: with:
ref: ${{ github.event.inputs.stack_env }} 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 - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
@@ -79,7 +86,7 @@ jobs:
- name: Notify success - name: Notify success
if: success() if: success()
run: bash ./.github/workflows/script/notify.sh run: bash ./.ci/.github/workflows/script/notify.sh
env: env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
@@ -89,7 +96,7 @@ jobs:
- name: Notify failure - name: Notify failure
if: failure() if: failure()
run: bash ./.github/workflows/script/notify.sh run: bash ./.ci/.github/workflows/script/notify.sh
env: env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}

View File

@@ -25,8 +25,11 @@ jobs:
contents: read contents: read
packages: write packages: write
steps: steps:
- name: Checkout repository - name: Checkout scripts from main
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: main
sparse-checkout: .github/workflows/script
- name: Deploy ke Portainer - name: Deploy ke Portainer
run: bash ./.github/workflows/script/re-pull.sh run: bash ./.github/workflows/script/re-pull.sh