-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.12 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: CI
on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
facebook_group:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: facebook-post-action
uses: ./
with:
page_id: ${{ secrets.FACEBOOK_GROUP_ID }}
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
message: |
${{ github.event.repository.name }} - ${{ github.ref_name }}
Group test successful
url: https://github.com/ReenigneArcher/facebook-post-action
fail_on_error: false
facebook_page:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: facebook-post-action
uses: ./
with:
page_id: ${{ secrets.FACEBOOK_PAGE_ID }}
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
message: |
${{ github.event.repository.name }} - ${{ github.ref_name }}
Page test successful
url: https://github.com/ReenigneArcher/facebook-post-action