Skip to content

Commit

Permalink
Merge pull request #48 from GeotrekCE/fix_ci
Browse files Browse the repository at this point in the history
Clean CI and build process
  • Loading branch information
bastyen authored Jul 10, 2023
2 parents a6c669d + d0d290e commit 131f543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: ./.github/actions/update-cache
- name: Prepare assets
run: |
npm run prepare
npm run build
- run: |
install -d -m 700 ~/.ssh/
echo "${{secrets.target_host}} ${{secrets.ssh_host_fingerprint}}">~/.ssh/known_hosts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
with:
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org'
- run: npm run prepare
- name: Prepare assets
run: |
npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 131f543

Please sign in to comment.