From a0770ce68ac9e8f60d84bbea347279e593f8d79c Mon Sep 17 00:00:00 2001 From: Antoine Pouille Date: Fri, 4 Oct 2024 17:37:52 +0200 Subject: [PATCH] fix(CI) deploy --- .github/workflows/ci.yml | 7 ++++--- dev/{upload-website.sh => deploy-to-website.sh} | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename dev/{upload-website.sh => deploy-to-website.sh} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87e96cc98..09c82c987 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,7 +123,7 @@ jobs: - name: Archive Javascript app uses: actions/upload-artifact@v4 with: - name: js + name: linux path: | site viz @@ -199,13 +199,14 @@ jobs: - name: Download doc artifact uses: actions/download-artifact@v4 with: - name: doc + name: ${{matrix.deploy-name}} - name: Install SSH Key uses: shimataro/ssh-key-action@v2 with: key: ${{ secrets.DEPLOY_KEY }} known_hosts: api.kappalanguage.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJooIEJd6sgRL5JUKGqh9zB3Xla1MchqR8IWl7Nh9ahm9Ji6IwV9QSKG9YQEIHdJWxBk4UzbfRWGkDK9q1GggyM= - - run: dev/upload-website.sh ${{matrix.deploy-name}} + - name: Run deploy script + run: dev/deploy-to-website.sh ${{matrix.deploy-name}} # TODO: see if add cache # # from https://github.com/hazelgrove/hazel/blob/868f673119827a35ec67fad5e7e0d5135ce91d4c/.github/workflows/deploy_branches.yml#L19-L29 diff --git a/dev/upload-website.sh b/dev/deploy-to-website.sh similarity index 100% rename from dev/upload-website.sh rename to dev/deploy-to-website.sh