Skip to content

Commit

Permalink
Change Docs CI action
Browse files Browse the repository at this point in the history
* Comments out the trigger, commit and puh parts.
* Changes runner from MacOS 12 to 14.
  • Loading branch information
stelabouras committed Jul 3, 2024
1 parent 663bc36 commit 5b9ed3b
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Docs

on:
push:
branches: [ master ]
on: [push]
#on:
#push:
# branches: [ master ]

jobs:
build:
runs-on: macos-12
runs-on: macos-14

steps:
- uses: actions/checkout@v3
Expand All @@ -19,12 +20,12 @@ jobs:
run: gem install jazzy
- name: Run Jazzy
run: jazzy -g https://github.com/transifex/transifex-swift -m Transifex
- name: Commit files
run: |
git add .
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "CI: Automated build push" | exit 0
- name: Push changes
run: git push -f --set-upstream origin docs
#- name: Commit files
# run: |
# git add .
# git config --local user.email "github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git commit -a -m "CI: Automated build push" | exit 0
#- name: Push changes
# run: git push -f --set-upstream origin docs

0 comments on commit 5b9ed3b

Please sign in to comment.