1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-18 16:03:36 +03:00

change: remove unnecessary permissions

This commit is contained in:
Octol1ttle 2024-10-27 17:22:38 +05:00
parent 55a9b34983
commit f75254c626
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -34,9 +34,6 @@ jobs:
upload-solution:
name: Upload Octobot to production
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
environment: production
steps:
@ -62,7 +59,7 @@ jobs:
SSH_HOST: ${{secrets.SSH_HOST}}
STOP_COMMAND: ${{vars.STOP_COMMAND}}
- name: Update Docker container
- name: Update Docker image
run: |
ssh $SSH_USER@$SSH_HOST docker pull ghcr.io/$NAMESPACE/$IMAGE_NAME:latest
shell: bash