diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1f00a7a..a0ab822 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -35,14 +35,14 @@ jobs: grep "browser_download_url.*slack-import-emojis-linux-x86_64" | \ cut -d '"' -f 4) - curl -L -o slack-import-emojis $RELEASE_URL - chmod +x slack-import-emojis + curl -L -o slack-import-emojis-bin $RELEASE_URL + chmod +x slack-import-emojis-bin mkdir -p apps/web/src/lib/instrumentation/ export SLACK_TOKEN=${{ secrets.SLACK_TOKEN }} - ./slack-import-emojis - + ./slack-import-emojis-bin + mv emojis.json apps/web/src/lib/instrumentation/ - name: Build and push Docker image diff --git a/.github/workflows/emojis.yml b/.github/workflows/emojis.yml index ef0e347..1115ab1 100644 --- a/.github/workflows/emojis.yml +++ b/.github/workflows/emojis.yml @@ -52,9 +52,6 @@ jobs: export SLACK_TOKEN=xoxb-your-token ./slack-import-emojis ``` - draft: false - prerelease: false - files: ./slack-import-emojis/target/release/slack-import-emojis - name: Upload Linux binary uses: actions/upload-release-asset@v1