Skip to content

Commit 4c998d4

Browse files
committed
test env
1 parent 830ec13 commit 4c998d4

2 files changed

Lines changed: 24 additions & 7 deletions

File tree

.github/workflows/publish-testing.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,35 @@ concurrency:
66

77
on:
88
workflow_dispatch:
9-
schedule:
10-
- cron: '0 10 * * *'
9+
# schedule:
10+
# - cron: '0 10 * * *'
1111

1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15-
15+
environment:
16+
name: prod
1617
steps:
17-
- uses: actions/checkout@v3.6.0
18+
- name: Install dependencies
19+
run: sudo apt-get install -y python3-paramiko python3-lxml
20+
21+
- uses: actions/checkout@v4.2.2
1822
with:
1923
submodules: 'recursive'
24+
fetch-depth: 0
25+
26+
- name: Fetch all tags and branches (RobustToolbox)
27+
run: |
28+
cd RobustToolbox
29+
git fetch --all --tags
30+
31+
- name: Debug tags for RobustToolbox
32+
run: |
33+
cd RobustToolbox
34+
git tag
35+
2036
- name: Setup .NET Core
21-
uses: actions/setup-dotnet@v3.2.0
37+
uses: actions/setup-dotnet@v4.1.0
2238
with:
2339
dotnet-version: 9.0.x
2440

@@ -40,7 +56,8 @@ jobs:
4056
run: dotnet run --project Content.Packaging client --no-wipe-release
4157

4258
- name: Publish version
43-
run: Tools/publish_multi_request.py --fork-id wizards-testing
59+
run: Tools/publish_multi_request.py
4460
env:
61+
FORK_ID: starlight-test
4562
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
4663
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}

Tools/publish_multi_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Forks should change these to publish to their own infrastructure.
1818
#
1919
ROBUST_CDN_URL = "https://ss14-starlight-alfa.online/"
20-
FORK_ID = "starlight"
20+
FORK_ID = os.environ.get("FORK_ID", "starlight")
2121

2222
def main():
2323
parser = argparse.ArgumentParser()

0 commit comments

Comments
 (0)