Skip to content

chore: general updates #39

chore: general updates

chore: general updates #39

Workflow file for this run

---
name: CI
on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
test_post:
runs-on: ubuntu-latest
strategy:
matrix:
target: [group, page]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: facebook-post-action
uses: ./
with:
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
fail_on_error: ${{ matrix.target == 'group' && 'false' || 'true' }}
message: |
${{ github.event.repository.name }} - ${{ github.ref_name }} (${{ matrix.target }}) test
page_id: ${{ matrix.target == 'group' && secrets.FACEBOOK_GROUP_ID || secrets.FACEBOOK_PAGE_ID }}
url: https://github.com/ReenigneArcher/facebook-post-action