Skip to content

Commit

Permalink
Merge pull request #310 from bounswe/devops/feature/119-backend-githu…
Browse files Browse the repository at this point in the history
…b-actions

fix(devops): setup doctl
  • Loading branch information
atakanyasar authored May 17, 2024
2 parents 174a021 + 445411f commit b10e922
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/backend_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v4

- name: Authorize to with doctl
run: echo ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | doctl auth init --context github-actions

- name: setup doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Login to Docker registry
run: doctl registry login --context github-actions
Expand Down

0 comments on commit b10e922

Please sign in to comment.