This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Update libraries, update CSI Vegas #103
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: 'Generate and deploy' | |
on: | |
push: | |
branches: [ production ] | |
jobs: | |
deploy-website: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Do a git checkout including submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: 'latest' | |
# extended: true | |
- name: Build Hugo | |
run: hugo --minify | |
- name: Deploy to Server | |
uses: easingthemes/ssh-deploy@main | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} | |
ARGS: "-rlgoDzvc -i" | |
SOURCE: "public/" | |
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} | |
REMOTE_USER: ${{ secrets.REMOTE_USER }} | |
TARGET: "/home/jorjafox/jorjafox.net/library/" | |
#EXCLUDE: "/dist/, /node_modules/" |