Action Africastalking을 사용한 SMS 알림

A GitHub Action to send a text message to the mobile number of choice via AfricastalkingSMS API



액션 아프리카스토킹



제출 카테고리: DIY 배포



Yaml 파일 및 코드 링크




알파올로미 / 액션 아프리카 스토킹


AfricastalkingSMS API를 통해 선택한 휴대폰 번호로 문자 메시지를 보내는 GitHub Action





액션 아프리카스토킹 📨








AfricastalkingSMS API를 통해 선택한 휴대폰 번호로 문자 메시지를 보내는 GitHub Action

🏠 홈페이지



용법



다른 작업 후에 이 작업을 사용할 수 있습니다. 다음은 이 작업의 설정 예입니다.
  • GitHub 리포지토리에 .github/workflows/africastalking-notify.yml 파일을 생성합니다.
  • africastalking-notify.yml 파일에 다음 코드를 추가합니다.
  • on: push
    name: Africastalking Notification Demo
    jobs:
      africastalkingNotification:
        name: Africastalking Notification
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v2
        - name: Africastalking Notification
          uses: alphaolomi/action-africastalking- 
    
          env:        
            AT_API_KEY: ${{ secrets.AT_API_KEY }} 
            AT_USERNAME: ${{ secrets.AT_USERNAME }} 
            AT_MOBILE_NUMBER: ${{ secrets.AT_MOBILE_NUMBER }} 
    1. Create africastalking_api key secret using GitHub Action's Secret. You can generate a africastalking incoming webhook token from here.

    입력

    • AT_API_KEY Required. You can get this from the dashboard: https://account.africastalking.com.
    • AT_USERNAME Required. Use 'sandbox' as the value for development in the test environment
    on: push
    name: Africastalking Notification Demo
    jobs:
      africastalkingNotification:
        name: Africastalking Notification
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v2
        - name: Africastalking Notification
          uses: alphaolomi/action-africastalking-@master
          env:        
            AT_API_KEY: ${{ secrets.AT_API_KEY }} 
            AT_USERNAME: ${{ secrets.AT_USERNAME }} 
            AT_MOBILE_NUMBER: ${{ secrets.AT_MOBILE_NUMBER }} 
    

    좋은 웹페이지 즐겨찾기