mirror of
https://github.com/jwetzell/showbridge-www.git
synced 2026-07-26 08:58:39 +00:00
023ffd2c45
Bumps [SamKirkland/FTP-Deploy-Action](https://github.com/samkirkland/ftp-deploy-action) from 4.3.6 to 4.4.0. - [Release notes](https://github.com/samkirkland/ftp-deploy-action/releases) - [Commits](https://github.com/samkirkland/ftp-deploy-action/compare/a51268f67f6605236975928ae28b0f7e9971d50a...110f9186c050f71550953127052e77650219c287) --- updated-dependencies: - dependency-name: SamKirkland/FTP-Deploy-Action dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
959 B
YAML
35 lines
959 B
YAML
name: Publish site
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
publish-site:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'npm'
|
|
cache-dependency-path: 'package-lock.json'
|
|
|
|
- name: Install Node.js dependencies
|
|
run: npm ci
|
|
|
|
- name: Build Tailwind CSS
|
|
run: npm run tailwind
|
|
|
|
- name: publish site
|
|
uses: SamKirkland/FTP-Deploy-Action@110f9186c050f71550953127052e77650219c287 # v4.4.0
|
|
with:
|
|
server: ${{secrets.FTP_URL}}
|
|
username: ${{secrets.WWW_FTP_USERNAME}}
|
|
password: ${{secrets.WWW_FTP_PASSWORD}}
|
|
local-dir: ./src/
|
|
server-dir: /
|
|
port: 21
|
|
protocol: ftps |