Create main.yml
This commit is contained in:
committed by
GitHub
parent
1644fdf74a
commit
ce77526667
25
.github/workflows/main.yml
vendored
Normal file
25
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Deploy main to fybx.dev
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Upload to public_html via FTP
|
||||||
|
uses: SamKirkland/FTP-Deploy-Action@4.3.0
|
||||||
|
with:
|
||||||
|
server: ${{ secrets.FTP_SERV }}
|
||||||
|
username: ${{ secrets.FTP_USER }}
|
||||||
|
password: ${{ secrets.FTP_PASS }}
|
||||||
|
server-dir: ${{ secrets.FTP_PATH }}
|
||||||
|
protocol: ftps
|
||||||
Reference in New Issue
Block a user