Skip to content

Commit

Permalink
updated the yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh7i committed Apr 25, 2024
1 parent 6a9df71 commit 558f9a9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ jobs:
node-version: [21.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: systemctl stop nginx
- run: killall node
- run: docker container kill $(docker container ls -q)
Expand Down Expand Up @@ -52,6 +46,13 @@ jobs:
ENV_VAR_5: ${{ secrets.ENV_VAR_5 }}
ENV_VAR_6: ${{ secrets.ENV_VAR_6 }}
ENV_VAR_7: ${{ secrets.ENV_VAR_7 }}

- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- run: npm install
- run: npm start &
Expand Down

0 comments on commit 558f9a9

Please sign in to comment.