Skip to content

Merge pull request #17 from packbackbooks/mgmt-190-competencies-respo… #41

Merge pull request #17 from packbackbooks/mgmt-190-competencies-respo…

Merge pull request #17 from packbackbooks/mgmt-190-competencies-respo… #41

Workflow file for this run

name: Sync Docs to Confluence
on:
push:
branches:
- main
jobs:
clear-docs:
runs-on: ubuntu-latest
steps:
# Check out code using git
- name: Checkout to Branch
uses: actions/checkout@v2
- name: Delete existing docs from Confluence
run: ./scripts/clear.sh
env:
JIRA_USER: ${{ secrets.JIRA_USER }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
sync-docs:
runs-on: ubuntu-latest
container: kovetskiy/mark
needs: clear-docs
steps:
- name: Checkout to Branch
uses: actions/checkout@v2
- name: Sync docs to Confluence
run: ./scripts/sync.sh
env:
JIRA_USER: ${{ secrets.JIRA_USER }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}