1
0
crocandr 2 жил өмнө
parent
commit
2f6a764ca5

+ 2 - 2
.github/workflows/main.yml

@@ -123,12 +123,12 @@ jobs:
           chmod 600 customkey
           GIT_SSH_COMMAND="ssh -i customkey"
           cat customkey | base64
-          git clone [email protected]:${{ GITHUB_REPOSITORY }}.git stay || { echo "git clone error"; exit 1; }
+          git clone [email protected]:$GITHUB_REPOSITORY.git stay || { echo "git clone error"; exit 1; }
           cd stay || { echo "folder change problem"; exit 1; }
           git branch stayactive
           git checkout stayactive
           date >> status.txt
-          git config user.name ${{ GITHUB_REPOSITORY_OWNER }}
+          git config user.name $GITHUB_REPOSITORY_OWNER
           git config user.email automation@dummy
           git commit -m "stay active"
           git push origin stayactive:stayactive || { echo "Stayactive branch push error"; exit 1; }