🔀 :: [#70] 프로그램 페이지 퍼블리싱 #166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Expo CI | |
on: | |
pull_request: | |
branches: [ "*" ] | |
push: | |
branches: [ "*" ] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: swift-actions/setup-swift@v1 | |
with: | |
xcode-version: 16.0 | |
- name: Build | |
run: swift build | |
# - name: Run tests | |
# run: swift test | |
- name: Success Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ success() }} | |
with: | |
title: CI 성공! | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
status: ${{ job.status }} | |
image: ${{ secrets.CI_SUCCESS_IMAGE }} | |
description: CI를 성공했습니다. | |
color: 00FF00 | |
username: CI Bot | |
url: https://github.com/School-of-Company/Expo-iOS | |
- name: Failed Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ failure() }} | |
with: | |
title: CI 실패! | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
status: ${{ job.status }} | |
image: ${{ secrets.CI_FAIL_IMAGE }} | |
description: CI를 실패했습니다. | |
color: FF0000 | |
username: CI Bot | |
url: https://github.com/School-of-Company/Expo-iOS |