ci: move 'Notify start' after Checkout — script needs the workspace
This commit is contained in:
@@ -19,15 +19,15 @@ jobs:
|
||||
FLIGHTS_WEB_PORT: '8081'
|
||||
|
||||
steps:
|
||||
- name: Notify start
|
||||
if: ${{ env.TELEGRAM_BOT_TOKEN != '' }}
|
||||
run: scripts/ci/notify-telegram.sh start ci-deploy
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Notify start
|
||||
if: ${{ env.TELEGRAM_BOT_TOKEN != '' }}
|
||||
run: scripts/ci/notify-telegram.sh start ci-deploy
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
@@ -24,15 +24,15 @@ jobs:
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
|
||||
steps:
|
||||
- name: Notify start
|
||||
if: ${{ env.TELEGRAM_BOT_TOKEN != '' }}
|
||||
run: scripts/ci/notify-telegram.sh start release
|
||||
|
||||
- name: Checkout (full history + tags)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Notify start
|
||||
if: ${{ env.TELEGRAM_BOT_TOKEN != '' }}
|
||||
run: scripts/ci/notify-telegram.sh start release
|
||||
|
||||
- name: Verify ci-deploy is green for this SHA
|
||||
id: gate
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user