diff --git a/.github/workflows/on-push-master-update-leanpub-preview.yml b/.github/workflows/on-push-master-update-leanpub-preview.yml deleted file mode 100644 index 851ae2b..0000000 --- a/.github/workflows/on-push-master-update-leanpub-preview.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Update leanpub branches - -on: - push: - branches: - - dev - paths: - - 'manuscript/*.md' - - 'manuscript/**/*.md' - - '.github/workflows/*' - - 'scripts/*' - - -jobs: - update-leanpub: - name: update-leanpub - runs-on: ubuntu-latest - steps: - - name: Checkout charts repo - uses: actions/checkout@v2 - - - name: Checkout latest leanpub-preview branch - uses: actions/checkout@v2 - with: - repository: ${{ env.GITHUB_PAGES_REPO }} - ref: leanpub-preview - path: leanpub-preview - - - name: Replace contents of leanpub-preview branch - run: | - rm -rf leanpub-preview/manuscript - rm -rf leanpub-preview/scripts - cp -rf manuscript leanpub-preview/ - cp -rf scripts leanpub-preview/ - cd leanpub-preview - ./scripts/markdown-to-markua.sh - git config --local --unset-all "http.https://github.com/.extraheader" - git config --global user.email "autopenguin@funkypenguin.co.nz" - git config --global user.name "AutoPenguin" - git add . - git commit -m 'Update for leanpub preview' - - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - directory: leanpub-preview - branch: leanpub-preview \ No newline at end of file diff --git a/.github/workflows/check-for-broken-links.yml b/.github/workflows_disabled/check-for-broken-links.yml similarity index 100% rename from .github/workflows/check-for-broken-links.yml rename to .github/workflows_disabled/check-for-broken-links.yml diff --git a/.github/workflows/cron-check-for-broken-links.yml b/.github/workflows_disabled/cron-check-for-broken-links.yml similarity index 100% rename from .github/workflows/cron-check-for-broken-links.yml rename to .github/workflows_disabled/cron-check-for-broken-links.yml diff --git a/.github/workflows/notify-discord-new-recipe-request.yml b/.github/workflows_disabled/notify-discord-new-recipe-request.yml similarity index 100% rename from .github/workflows/notify-discord-new-recipe-request.yml rename to .github/workflows_disabled/notify-discord-new-recipe-request.yml diff --git a/.github/workflows/prune-stale-issues-prs.yml b/.github/workflows_disabled/prune-stale-issues-prs.yml similarity index 100% rename from .github/workflows/prune-stale-issues-prs.yml rename to .github/workflows_disabled/prune-stale-issues-prs.yml