-
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.
- Loading branch information
1 parent
546ac2b
commit 58606ce
Showing
2 changed files
with
34 additions
and
16 deletions.
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 |
---|---|---|
@@ -1,26 +1,43 @@ | ||
name: Update with the latest colorschemes | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 0" # https://crontab.guru/every-week | ||
push: | ||
branches: [ "main" ] | ||
# schedule: | ||
# - cron: "0 0 * * 0" # https://crontab.guru/every-week | ||
# push: | ||
# branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch the repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Vim and Ruby | ||
run: sudo apt install -y ruby vim | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "3.3" | ||
- run: bundle exec rake | ||
|
||
- uses: rhysd/action-setup-vim@v1 | ||
id: vim | ||
- name: Build | ||
run: bash build.sh | ||
env: | ||
THEMIS_VIM: ${{ steps.vim.outputs.executable }} | ||
run: | | ||
bash build.sh THEMIS_VIM | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
- name: "Commit the changes, if any" | ||
uses: "stefanzweifel/git-auto-commit-action@be823a7e51f116fecebc222b8307716921375992" # 5.0.1 | ||
with: | ||
github_token: ${{ secrets.BOT_ACCESS_TOKEN }} | ||
publish_dir: ./out | ||
commit_message: "Update with the latest tinted-theming colorschemes" | ||
branch: ${{ inputs.ref }} | ||
commit_user_name: "tinted-theming-bot" | ||
commit_user_email: "[email protected]" | ||
commit_author: "tinted-theming-bot <[email protected]>" | ||
|
||
|
||
# - name: Deploy | ||
# uses: peaceiris/actions-gh-pages@v3 | ||
# with: | ||
# github_token: ${{ secrets.BOT_ACCESS_TOKEN }} | ||
# publish_dir: ./out |
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