Update dependency @types/node to v18.19.64 #379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build and deploy generator to github pages and to | |
name: Build and Deploy to GHpages | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
environment: production | |
name: Build and Deploy | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm i | |
- run: npm ci | |
- run: CI= PUBLIC_URL=${{ secrets.PUBLIC_URL }} npm run build | |
- name: Publish | |
if: github.event_name == 'push' | |
uses: nogsantos/[email protected] | |
with: | |
src: ./build/* | |
host: ${{ secrets.SSH_HOST }} | |
remote: ${{ secrets.SSH_DIR }} | |
port: ${{ secrets.SSH_PORT }} | |
user: ${{ secrets.SSH_USER }} | |
key: ${{ secrets.SSH_KEY }} |