Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 2aff315

Browse files
committed
ci: remove images: Attempt add origin
Signed-off-by: John Andersen <[email protected]>
1 parent 2912f9f commit 2aff315

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/remove_images.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@ jobs:
5757
5858
ssh_key_dir="$(mktemp -d)"
5959
TEMP_DIRS+=("${ssh_key_dir}")
60-
mkdir -p ~/.ssh
61-
chmod 700 ~/.ssh
6260
python -c "import pathlib, base64, os; keyfile = pathlib.Path(\"${ssh_key_dir}/github\").absolute(); keyfile.write_bytes(b''); keyfile.chmod(0o600); keyfile.write_bytes(base64.b32decode(os.environ['SSH_DFFML_GH_PAGES']))"
6361
ssh-keygen -y -f "${ssh_key_dir}/github" > "${ssh_key_dir}/github.pub"
6462
export GIT_SSH_COMMAND="${GIT_SSH_COMMAND} -o IdentityFile=${ssh_key_dir}/github"
6563
64+
set +e
65+
git remote add origin [email protected]:intel/dffml
6666
git remote set-url origin [email protected]:intel/dffml
67+
set -e
68+
6769
git checkout -b main
6870
git push -u origin main

0 commit comments

Comments
 (0)