We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4051fad commit bc6a6f6Copy full SHA for bc6a6f6
.github/workflows/syncDeelEmployees.yml
@@ -0,0 +1,20 @@
1
+name: Sync Deel Employees
2
+on:
3
+ schedule:
4
+ - cron: '0 12 * * *'
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ syncDeelEmployees:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Call syncDeelEmployees endpoint
12
+ uses: fjogeleit/http-request-action@v1
13
+ with:
14
+ url: '${{ vars.BASE_URL }}/syncDeelEmployees'
15
+ method: 'POST'
16
+ customHeaders: '{"Authorization": "Bearer ${{ secrets.SYNC_ENDPOINT_KEY }}"}'
17
+ - name: Show Response
18
+ run: |
19
+ echo ${{ steps.syncDeelEmployees.outputs.status }}
20
+ echo ${{ steps.syncDeelEmployees.outputs.response }}
0 commit comments