chore(CI): Fix deploy-gitsats directory and target URI

reviewable/pr6487/r3
Anthony Bilinski 2022-02-21 08:03:01 -08:00
parent 0df98ce64f
commit a1f19f44e2
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cd "$GITSTATS_DIR"
COMMIT=$(cd qTox && git describe)
COMMIT=$(git describe)
git init --quiet
git config user.name "qTox bot"
@ -29,4 +29,4 @@ echo "Pushing to GH pages..."
touch /tmp/access_key
chmod 600 /tmp/access_key
echo "$access_key" > /tmp/access_key
GIT_SSH_COMMAND="ssh -i /tmp/access_key" git push --force --quiet "git@github.com/qTox/gitstats.git" master:gh-pages
GIT_SSH_COMMAND="ssh -i /tmp/access_key" git push --force --quiet "git@github.com:qTox/gitstats.git" master:gh-pages