Skip to content

Commit

Permalink
v1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
050644zf committed Oct 18, 2024
1 parent 93c2c03 commit 35b0a7b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ASTRAutoUpdater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: updater
run: |
python ./jsonconvert.py
cd ArknightsStoryJson
python ./jsonconvert.py --all
- name: push
working-directory: ./ArknightsStoryJson
run: |
git push
- name: Install AWS CLI
run: |
sudo apt-get update
Expand All @@ -58,3 +62,4 @@ jobs:
aws s3 sync . s3://${{ secrets.CLOUDFLARE_BUCKET_NAME }} --endpoint-url=https://${{ secrets.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com --delete --exclude ".git/*"
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
working-directory: ./ArknightsStoryJson
9 changes: 7 additions & 2 deletions .github/workflows/Weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: updater
run: |
python ./jsonconvert.py --all
cd ArknightsStoryJson
- name: push
working-directory: ./ArknightsStoryJson
run: |
git push
- name: Install AWS CLI
Expand All @@ -59,4 +63,5 @@ jobs:
run: |
aws s3 sync . s3://${{ secrets.CLOUDFLARE_BUCKET_NAME }} --endpoint-url=https://${{ secrets.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com --delete --exclude ".git/*"
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
working-directory: ./ArknightsStoryJson

0 comments on commit 35b0a7b

Please sign in to comment.