Skip to content

Commit

Permalink
Fix auth header, Add new line
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmJSD committed Sep 12, 2019
1 parent 5b30f4d commit 9ba3c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
FOLDER: dist

- uses: chrislennon/action-aws-cli@v1.1

- name: Deploy commit to DigitalOcean Spaces
run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read
env:
Expand Down
2 changes: 1 addition & 1 deletion build/createGithubComment.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fetch(
headers: {
"Content-Type": "application/json",
Accept: "application/vnd.github.v3+json",
Authorization: `Basic ${Buffer.from(`JakeMakesStuff:${process.env.GITHUB_ACCESS_TOKEN}`).toString("base64")}`,
Authorization: `Basic ${Buffer.from(`github-actions:${process.env.GITHUB_ACCESS_TOKEN}`).toString("base64")}`,
}
},
).then(async x => {
Expand Down

1 comment on commit 9ba3c41

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been deployed to DigitalOcean Spaces for easy viewing. (DNS Tool, SPF Explainer)

Please sign in to comment.