Skip to content

Commit 388c5f3

Browse files
committed
Remove $WEEKLY_CI var. restriction
1 parent 2b252b8 commit 388c5f3

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.github/workflows/weekly.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ jobs:
1111
steps:
1212
- name: Connect to SSH
1313
uses: appleboy/[email protected]
14-
env:
15-
WEEKLY_CI: "true"
1614
with:
1715
host: ${{ secrets.HOST }}
1816
username: ${{ secrets.USERNAME }}
1917
passphrase: ${{ secrets.PASSPHRASE }}
2018
key: ${{ secrets.KEY }}
21-
envs: WEEKLY_CI
2219
script: bash weekly

weekly

+5-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
# This script is used by the dev-desktop-us-1 instance once a week to benchmark
33
# Don't use this script directly, use becnh (which is user friendly and all that)
44

5-
if [ -z "$WEEKLY_CI" ]; then
6-
echo "This script shouldn't be ran apart from weekly.yaml. It has 0 benefits to
7-
running \`becnh --master\`. Stop being so silly! :3"
8-
fi
9-
105
cd becnh || exit 1
11-
# bash becnh --master
12-
# cp rustc-perf/results.db .
13-
# git add results.db
14-
# git commit -m "Update results.db for $(date +%Y-%m-%d)"
15-
# git push
6+
bash becnh --master
7+
cp rustc-perf/results.db .
8+
git add results.db
9+
git commit -m "Update results.db for $(date +%Y-%m-%d)"
10+
git push
1611

1712
echo "Weekly run is done!"

0 commit comments

Comments
 (0)