Skip to content

Commit

Permalink
🐛 fix to deploy
Browse files Browse the repository at this point in the history
✨ update cargo lock
  • Loading branch information
tktcorporation committed Jun 30, 2021
1 parent 5fc5aba commit 4152db4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/heroku-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ defaults:
working-directory: ./

jobs:
test:
name: Test
deploy:
name: deploy
runs-on: ubuntu-latest
environment:
name: heroku_production
Expand All @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v2

- name: Install Heroku CLI
run: npm install -g heroku
run: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

- name: Login to Heroku Container registry
env:
Expand Down
4 changes: 1 addition & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "discord-speech-bot"
version = "0.1.3"
version = "0.1.4"
authors = ["tktcorporation"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY Cargo.toml Cargo.toml
RUN mkdir src/
RUN echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs
RUN cargo build --release
RUN rm -f target/release/deps/app*
RUN rm -f target/release/deps/discord*

COPY . .

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ services:
# environment:
# - USER=$USER
# - DISCORD_TOKEN=$DISCORD_TOKEN
# - DISCORD_CMD_PREFIX=$DISCORD_CMD_PREFIX
# - AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
# - AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
# - AWS_REGION=$AWS_REGION
Expand Down

0 comments on commit 4152db4

Please sign in to comment.