diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 78a4282..a202e06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,7 @@ name: Deploy on EC2 on: push: branches: [master] + workflow_dispatch: jobs: docker_build: @@ -48,7 +49,7 @@ jobs: DROPBOX_REFRESH_TOKEN: ${{secrets.DROPBOX_REFRESH_TOKEN}} with: host: ${{secrets.BOI_HOSTNAME}} - username: ec2-user + username: opc key: ${{secrets.BOI_PRIVATE_KEY}} envs: DOCKER_IMAGE, DOCKER_CONTAINER_NAME, DROPBOX_APP_KEY, DROPBOX_APP_SECRET, DROPBOX_REFRESH_TOKEN script_stop: true @@ -70,4 +71,4 @@ jobs: --restart unless-stopped \ --network="wkk-network" \ --name $DOCKER_CONTAINER_NAME $DOCKER_IMAGE - docker image prune <<< y \ No newline at end of file + docker image prune <<< y