我有一个自定义 Jekyll 网站,它在本地运行良好。
我想将我构建的站点部署到我的托管环境中。通过 FTP 和 github actions 可以正常工作:https: //github.com/SamKirkland/FTP-Deploy-Action
这是 FTP 工作流程:
on: push
name: Publish Website
jobs:
FTP-Deploy-Action:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.1.1
with:
ftp-server: ${{ secrets.FTP_HOST }}
ftp-username: ${{ secrets.FTP_USER }}
ftp-password: ${{ secrets.FTP_PASSWORD }}
local-dir: _site
git-ftp-args: --changed-only
Run Code Online (Sandbox Code Playgroud)
我尝试使用该_site文件夹,并且当不忽略 _site 时,每次提交都会运行操作。
所以最好的是,如果我不提交该_site页面,那么 GitHub 服务器就可以了。我发现了这个动作: https: //github.com/marketplace/actions/jekyll-actions
我的测试流程:
on: push
name: Testing the GitHub Pages building
jobs:
jekyll:
runs-on: ubuntu-16.04
steps:
- …Run Code Online (Sandbox Code Playgroud) 我想从url下载一张图片到我的Lotus Notes应用程序.我可以从url获取文本字段,但图像很难.我尝试将pic放到富文本字段中,但它不起作用.任何的想法?
build ×1
download ×1
github ×1
image ×1
jekyll ×1
lotus-notes ×1
lotusscript ×1
url ×1
workflow ×1