From d38c99beb78882d5a391d0de7244448eb58410fa Mon Sep 17 00:00:00 2001 From: atteggiani Date: Mon, 22 Jan 2024 12:15:16 +1100 Subject: [PATCH 1/2] test after move --- .github/workflows/delete_all_artifacts.sh | 4 ++-- docs/index.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/delete_all_artifacts.sh b/.github/workflows/delete_all_artifacts.sh index b2411dac7..8599d7661 100755 --- a/.github/workflows/delete_all_artifacts.sh +++ b/.github/workflows/delete_all_artifacts.sh @@ -10,8 +10,8 @@ invoke_api() { } list_artifacts() { - org=ACCESS-Hive - repo=access-hive.github.io + org=ACCESS-NRI + repo=access-hive.org.au invoke_api https://api.github.com/repos/${org}/${repo}/actions/artifacts } diff --git a/docs/index.md b/docs/index.md index eaee2e427..6f9e626a1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,10 +3,11 @@ hide: - navigation - toc --- +

-
Welcome to ACCESS-Hive!
+
Welcome to ACCESS-Hive moved!
The open portal for the ACCESS user community, hosted by ACCESS-NRI
@@ -74,4 +75,4 @@ hide: We at ACCESS-NRI acknowledge the Traditional Owners of the land on which our research infrastructure and community operate across Australia and pay our respects to Elders past and present. We recognise the thousands of years of accumulated knowledge and deep connection they have with all the Earth systems we simulate. - \ No newline at end of file + From b3906c4baaefcedf9cf6148c3fc8820ce42d200e Mon Sep 17 00:00:00 2001 From: atteggiani Date: Mon, 22 Jan 2024 12:25:27 +1100 Subject: [PATCH 2/2] Added write permission on PR to allow commenting PRs with the preview link --- .github/workflows/deploy_to_github_pages.yml | 2 ++ docs/index.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_to_github_pages.yml b/.github/workflows/deploy_to_github_pages.yml index 816d83772..155ec5f2b 100644 --- a/.github/workflows/deploy_to_github_pages.yml +++ b/.github/workflows/deploy_to_github_pages.yml @@ -12,6 +12,8 @@ on: - closed env: TZ: Australia/Canberra +permissions: + pull-requests: write # to comment on PRs jobs: pr-preview-setup: diff --git a/docs/index.md b/docs/index.md index 6f9e626a1..bcc045a1b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,7 +7,7 @@ hide:

-
Welcome to ACCESS-Hive moved!
+
Welcome to ACCESS-Hive!
The open portal for the ACCESS user community, hosted by ACCESS-NRI