Skip to content

Commit

Permalink
checking out code before running deploy docker script (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshsusai authored Oct 16, 2024
1 parent ace0597 commit 7ef7c73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: "npm"
registry-url: https://registry.npmjs.org
cache-dependency-path: package-lock.json
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 7ef7c73

Please sign in to comment.