-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe to push data from Jira to Google
Signed-off-by: Rafael Sene <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Daily Push To Google from Jira | ||
|
||
on: | ||
schedule: | ||
- cron: '0 */8 * * *' # this will run three times a day (every 8 hours) | ||
workflow_dispatch: # this allows the workflow to be run manually from the Actions tab | ||
|
||
jobs: | ||
run-container-and-send-email: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Docker Container | ||
run: | | ||
docker run --rm \ | ||
-v $(pwd)/gcp_creds.json:/gcp_creds.json \ | ||
-e JIRA_TOKEN=${{ secrets.JIRA_TOKEN }} \ | ||
-e GOOGLE_SHEETS_TOKEN=${{ secrets.GOOGLE_SHEETS_TOKEN }} \ | ||
-e GOOGLE_SERVICE_ACCOUNT_CREDENTIALS="${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}" \ | ||
riscvintl/jira-to-google:latest |
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