File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 8484
8585 - name : Image digest
8686 run : echo ${{ steps.docker_build.outputs.digest }}
87-
88- - name : Pull image and start container in deploy host
89- 90- with :
91- host : ${{ env.DEPLOYMENT_HOST }}
92- username : ${{ secrets.DEPLOY_USER }}
93- key : ${{ secrets.DEPLOY_SSH_KEY }}
94- proxy_host : ${{ secrets.DEPLOY_PROXY_HOST }}
95- proxy_username : ${{ secrets.DEPLOY_PROXY_USER }}
96- proxy_key : ${{ secrets.DEPLOY_PROXY_KEY }}
97- script : |
98- cd ~/codey/${{env.DEPLOYMENT_TARGET}}
99- curl -o docker-compose.yml https://raw.githubusercontent.com/uwcsc/codeybot/main/docker/${{env.DEPLOYMENT_TARGET}}/docker-compose.yml
100- docker pull uwcsclub/codey-bot:${{ github.event_name == 'push' && github.sha || env.RELEASE_TAG }}
101- echo "TAG=${{ github.event_name == 'push' && github.sha || env.RELEASE_TAG }}" > .env
102- echo "DISCORD_TOKEN=${{ env.DISCORD_TOKEN }}" >> .env
103- echo "CRUNCHBASE_API_KEY=${{ secrets.CRUNCHBASE_API_KEY }}" >> .env
104- docker compose down
105- docker compose up -d
You can’t perform that action at this time.
0 commit comments