mirror of
https://github.com/loviuz/loviuz-website.git
synced 2025-01-24 14:11:46 +01:00
Rimozione actions
This commit is contained in:
parent
302e601bf8
commit
1caf9676a9
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
@ -1,33 +0,0 @@
|
|||||||
name: Publish
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
schedule:
|
|
||||||
- cron: '0 8 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: 'recursive'
|
|
||||||
|
|
||||||
- name: Setup Hugo
|
|
||||||
uses: peaceiris/actions-hugo@v2
|
|
||||||
with:
|
|
||||||
hugo-version: '0.100.1'
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: hugo -D
|
|
||||||
|
|
||||||
- name: Deploy
|
|
||||||
uses: SamKirkland/FTP-Deploy-Action@3.0.0
|
|
||||||
with:
|
|
||||||
ftp-server: ${{ secrets.FTP_HOST }}
|
|
||||||
ftp-username: ${{ secrets.FTP_USERNAME }}
|
|
||||||
ftp-password: ${{ secrets.FTP_PASSWORD }}
|
|
||||||
local-dir: ${{ secrets.FTP_DIRECTORY }}
|
|
Loading…
Reference in New Issue
Block a user