Skip to content

Merge pull request #5 from symphonicabyss1/master #19

Merge pull request #5 from symphonicabyss1/master

Merge pull request #5 from symphonicabyss1/master #19

Workflow file for this run

name: Sync Resources
on:
push:
branches:
- master
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- name: Docker login
uses: docker/[email protected]
with:
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 }}