From fec2487abbe2689378c2f7d255ecdb64cb2dac91 Mon Sep 17 00:00:00 2001 From: redonkulus Date: Sun, 4 Jul 2021 10:18:36 -0700 Subject: [PATCH] ci: add remote --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2f6e7ef..9bafa09 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,9 @@ jobs: - run: npm ci - run: npm run lint - run: npm test - - run: npm run deploy + - run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/pure-css/pure-css.github.io.git + npm run deploy env: GH_EMAIL: ${{ secrets.GH_EMAIL }} GH_NAME: ${{ secrets.GH_NAME }}