Skip to content

Commit

Permalink
Update workflow to work for external contributors (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan authored May 17, 2021
1 parent 3fcb98d commit c43b473
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
node-version: [ 8, 10, 12 ]

steps:
- name: Get Docker Hub username
id: get-docker-hub-username
run: echo '::set-output name=dockerhub_username::${{ secrets.CI_DOCKER_USERNAME }}'
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.CI_DOCKER_USERNAME }}
password: ${{ secrets.CI_DOCKER_PASSWORD }}

if: steps.get-docker-hub-username.outputs.dockerhub_username
- name: Checkout branch
uses: actions/checkout@v2

Expand Down

0 comments on commit c43b473

Please sign in to comment.