Skip to content

Commit

Permalink
Log in
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Jun 24, 2024
1 parent d330234 commit 5385710
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,20 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Run sync
uses: addnab/docker-run-action@v3
- name: Docker login
uses: docker/login-action@v2.1.0
with:
image: ghcr.io/the-balance-ffxiv/discord-static-resource-bot:master
options: -v ${{ github.workspace }}/data:/app/data -e DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run sync
run: |
docker run -v ${{ github.workspace }}/data:/app/data -e DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} ghcr.io/the-balance-ffxiv/discord-static-resource-bot:master
# - name: Run sync
# uses: addnab/docker-run-action@v3
# with:
# image: ghcr.io/the-balance-ffxiv/discord-static-resource-bot:master
# options: -v ${{ github.workspace }}/data:/app/data -e DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}

0 comments on commit 5385710

Please sign in to comment.