Skip to content

Commit 2cc621f

Browse files
committed
commit last build at end
1 parent a24c289 commit 2cc621f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ jobs:
6868
cat "site/europe-west4/n2-standard-8.html" | grep '249' || exit 9
6969
jq -e '.[] | .name' "site/instance_in_region.json" | grep '"n2-standard-8"' || exit 9
7070
71-
- name: Commit last build
72-
run: |
73-
cd build || exit 9
74-
bash commit.sh || exit 9
75-
7671
- name: 🪣 Publish website
7772
#run: gcloud storage cp --gzip-in-flight=html,js,css,txt,json --recursive site/* gs://gcloud-compute.com || exit 9
7873
run: |
@@ -85,4 +80,9 @@ jobs:
8580
echo "endpoint = $R2_API_ENDPOINT" >> "$HOME/.config/rclone/rclone.conf"
8681
echo "acl = private" >> "$HOME/.config/rclone/rclone.conf"
8782
echo "no_check_bucket = true" >> "$HOME/.config/rclone/rclone.conf"
88-
rclone copy --transfers 32 --checkers 64 --fast-list "site/" "r2:gcloud-compute/" || exit 9
83+
rclone copy --transfers 32 --checkers 64 --fast-list "site/" "r2:gcloud-compute/" || exit 9
84+
85+
- name: Commit last build
86+
run: |
87+
cd build || exit 9
88+
bash commit.sh || exit 9

0 commit comments

Comments
 (0)