diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b22c73ad..d469242e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -19,3 +19,5 @@ jobs: -e BUILD_TARGET=runtime \ -e DOCKER_TAG="${GITHUB_REF##*/}" \ release deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/makefile b/makefile index 6b308144..e7f76d83 100644 --- a/makefile +++ b/makefile @@ -81,7 +81,7 @@ release-docker: ) done gh-pages-remote: - @git remote add ghp "https://$(GITHUB_AUTH_TOKEN)@github.com/ascoderu/lokole.git" && \ + @git remote add ghp "https://$(GITHUB_TOKEN)@github.com/ascoderu/lokole.git" && \ git config --local user.name "Deployment Bot (from Github Actions)" && \ git config --local user.email "deploy@ascoderu.ca"