Skip to content

Commit

Permalink
Merge pull request #6 from eimis-ans/ci/fix-readme-upload
Browse files Browse the repository at this point in the history
Ci/fix readme upload
  • Loading branch information
ad2ien authored Sep 7, 2023
2 parents 9bd25bc + ab06ebe commit 1802a60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ jobs:
if: steps.readme-change.outputs.any_changed == 'true'
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
username: ${{ vars.DOCKER_HUB_USERNAME }}
short-description: Docker image for https://github.com/${{ github.repository }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: ${{ secrets.DOCKER_HUB_USERNAME }}/eimis-synapse-tools
repository: ${{ vars.DOCKER_HUB_USERNAME }}/eimis-synapse-tools
readme-filepath: README.md
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ poetry run eimis-synapse-tools --help
Or with docker image

```bash
docker run eimisans/eimis-synapse-tools:nightly --help
docker run eimisans/eimis-synapse-tools:latest --help
```

### Import users
Expand All @@ -71,7 +71,7 @@ poetry run eimis-synapse-tools import-users --dry-run --csv-file ./data/users.cs
Or with docker

```bash
docker run -v ./.env:/.env -v ./data/users.csv:/data/users.csv eimisans/eimis-synapse-tools:nightly import-users --dry-run --csv-file /data/users.csv
docker run -v ./.env:/.env -v ./data/users.csv:/data/users.csv eimisans/eimis-synapse-tools:latest import-users --dry-run --csv-file /data/users.csv
```

(remove `--dry-run` to actually create the users)
Expand All @@ -88,7 +88,7 @@ poetry run eimis-synapse-tools setup-discoveryroom -r matrix.develop.eimis.incu
Or with docker

```bash
docker run eimisans/eimis-synapse-tools:nightly setup-discoveryroom -r matrix.develop.eimis.incubateur.net
docker run eimisans/eimis-synapse-tools:latest setup-discoveryroom -r matrix.develop.eimis.incubateur.net
```

## Lint
Expand Down

0 comments on commit 1802a60

Please sign in to comment.