probe: workflow с uses: actions/checkout@v4
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
name: probe-checkout
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: Build & SFTP Deploy
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get install -y -qq make python3 python3-venv python3-pip hugo
|
||||||
|
|
||||||
|
- name: Deploy via SFTP
|
||||||
|
env:
|
||||||
|
SSHPASS: ${{ secrets.SSHPASS }}
|
||||||
|
run: |
|
||||||
|
make deploy
|
||||||
Reference in New Issue
Block a user