Support sha256 as HashAlgorithm of delta files in upd03_parse_manifes… #21
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
name: Sync Static Files | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'data/**' | |
workflow_dispatch: | |
concurrency: sync-static-files | |
jobs: | |
update: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Checkout gh-pages | |
uses: actions/checkout@v4 | |
with: | |
ref: gh-pages | |
path: data/gh-pages | |
- name: Sync static files | |
# https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code | |
run: | | |
robocopy /job:RSYNC-STATIC-FILES || [ $? -lt 8 ] | |
- name: Commit changes of static files | |
uses: EndBug/add-and-commit@v9 | |
with: | |
cwd: data/gh-pages | |
default_author: github_actions | |
message: 'Sync static files' | |
fetch: false |