Add Google Tag Manager #38
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
name: Deploy | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npx nuxi generate | |
- name: Copy files via SSH | |
uses: appleboy/scp-action@v0.1.4 | |
with: | |
host: webumenia.sk | |
username: lab_sng | |
key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} | |
source: .output/public/* | |
strip_components: 2 | |
target: /var/www/sakra-stex |