Skip to content

Commit 4671eae

Browse files
committed
[WIP] Workflow
1 parent ba81e72 commit 4671eae

File tree

1 file changed

+28
-19
lines changed

1 file changed

+28
-19
lines changed

.github/workflows/main.yaml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
name: Github Telegram Notifier
1+
name: iOS
22

33
on:
44
push:
5-
branches:
6-
- "main"
7-
- "develop"
5+
branches: [ develop ]
86
pull_request:
9-
create:
10-
delete:
11-
issues:
12-
issue_comment:
13-
pull_request_review:
14-
pull_request_review_comment:
15-
fork:
16-
watch:
17-
release:
7+
branches: [ develop ]
8+
workflow_dispatch:
189

1910
jobs:
20-
notify:
21-
runs-on: ubuntu-latest
11+
build:
12+
name: Build iOS App
13+
runs-on: macos-latest
14+
2215
steps:
23-
- name: Send Telegram Notification
24-
uses: EverythingSuckz/[email protected]
16+
- name: Checkout
17+
uses: actions/[email protected]
18+
19+
- name: Mise (Ruby + Tuist + SwiftLint)
20+
2521
with:
26-
bot_token: ${{ secrets.TG_BOT_TOKEN }}
27-
chat_id: ${{ secrets.TG_CHAT_ID }}
22+
install: true
23+
cache: false
24+
25+
- name: Install Fastlane
26+
run: |
27+
bundle install
28+
29+
- name: Run Fastlane Notify
30+
run: |
31+
bundle exec fastlane notify_all
32+
env:
33+
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
34+
FASTLANE_TEAM_ID: ${{ secrets.FASTLANE_TEAM_ID }}
35+
TG_BOT_TOKEN: ${{ secrets.FASTLANE_TEAM_ID }}
36+
TG_CHAT_ID: ${{ secrets.FASTLANE_TEAM_ID }}

0 commit comments

Comments
 (0)