Skip to content

Commit

Permalink
disbale actions for a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Axnjr committed Mar 29, 2024
1 parent bf1befe commit 5d806bd
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CICD Pipeline
# name: CICD Pipeline

on:
push:
branches: [ "main" ]
# paths:
# - 'WebsocketServer/**'
# on:
# push:
# branches: [ "main" ]
# paths:
# - 'WebsocketServer/**'

jobs:

Expand All @@ -27,15 +27,15 @@ jobs:
# push: true
# tags: axnjr/ignition_wsss:latest

deploy:
# needs: build
runs-on: self-hosted
steps:
- name: Pulling image from docker hub
run: docker pull axnjr/ignition_wsss:latest
- name: Deleting older container
run: docker rm -f ignition_wss-shared
- name: Run docker container
run: docker run -d -e DB_URL=${{ secrets.DB_URL }} -e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} -e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} -e REGION=${{ secrets.REGION }} -e PORT=${{ secrets.PORT }} --network host --name ignition_wss-shared axnjr/ignition_wsss:latest
- name: Check container logs
run: docker logs ignition_wss-shared
# deploy:
# # needs: build
# runs-on: self-hosted
# steps:
# - name: Pulling image from docker hub
# run: docker pull axnjr/ignition_wsss:latest
# - name: Deleting older container
# run: docker rm -f ignition_wss-shared
# - name: Run docker container
# run: docker run -d -e DB_URL=${{ secrets.DB_URL }} -e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} -e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} -e REGION=${{ secrets.REGION }} -e PORT=${{ secrets.PORT }} --network host --name ignition_wss-shared axnjr/ignition_wsss:latest
# - name: Check container logs
# run: docker logs ignition_wss-shared

0 comments on commit 5d806bd

Please sign in to comment.