mirror of
https://github.com/jwetzell/showbridge-www.git
synced 2026-08-21 12:59:05 +00:00
d865cabc6c
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.0.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e...820762786026740c76f36085b0efc47a31fe5020) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.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 |