mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-27 13:59:04 -04:00
Merge branch '651-fix-default-language-for-feed-filtering' into 650-update-kiwix-feeds
This commit is contained in:
commit
b335e0cedb
19
.github/workflows/cd.yml
vendored
19
.github/workflows/cd.yml
vendored
@ -1,13 +1,14 @@
|
|||||||
name: CD
|
name: CD
|
||||||
|
|
||||||
# | Platform | Nightly | Weekly (if diff HEAD) | TestFlight Tag | Post App Release |
|
# | Platform | Nightly | Weekly (if diff HEAD) | TestFlight Tag | Post App Release |
|
||||||
# |----------|---------|------------------------|----------------|------------------|
|
# |-----------------|---------|------------------------|----------------|------------------|
|
||||||
# | macOS | ftp | app-store | app-store | ftp |
|
# | macOS | ftp | app-store | app-store | ftp |
|
||||||
# | iOS | ftp | app-store | app-store | - |
|
# | iOS | ftp | app-store | app-store | - |
|
||||||
# |----------|---------|------------------------|----------------|------------------|
|
# |-----------------|---------|------------------------|----------------|------------------|
|
||||||
# | VERSION | Date | get from project.yml | project.yml | project.yml |
|
# | VERSION | Date | get from project.yml | project.yml | project.yml |
|
||||||
# |----------|---------|------------------------|----------------|------------------|
|
# |-----------------|---------|------------------------|----------------|------------------|
|
||||||
|
# | UPLOAD_FOLDER | nightly | - | - | release |
|
||||||
|
# |-----------------|---------|------------------------|----------------|------------------|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '32 1 * * *' # NIGHTLY @ 01:32
|
- cron: '32 1 * * *' # NIGHTLY @ 01:32
|
||||||
@ -84,7 +85,7 @@ jobs:
|
|||||||
with open(os.getenv("GITHUB_ENV"), "a") as fh:
|
with open(os.getenv("GITHUB_ENV"), "a") as fh:
|
||||||
fh.write(f"VERSION={version}\n")
|
fh.write(f"VERSION={version}\n")
|
||||||
fh.write(f"UPLOAD_TO=ftp\n")
|
fh.write(f"UPLOAD_TO=ftp\n")
|
||||||
fh.write(f"UPLOAD_FOLDER=release/{version}\n")
|
fh.write(f"UPLOAD_FOLDER=nightly/{version}\n")
|
||||||
|
|
||||||
- name: Weekly setup
|
- name: Weekly setup
|
||||||
if: github.event_name == 'schedule' && github.event.schedule == '00 2 * * 1' && env.HAS_CHANGED_LAST_WEEK == 'yes'
|
if: github.event_name == 'schedule' && github.event.schedule == '00 2 * * 1' && env.HAS_CHANGED_LAST_WEEK == 'yes'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user