Merge pull request #59 from NoxOrg/feature/extending-nox #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Site to Interwebs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
schemas-deploy: | |
name: Build & Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the latest code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.13.0 | |
- name: Installing packages | |
run: npm install | |
- name: Build site | |
run: npm run build | |
- name: Upload files to site | |
uses: SamKirkland/FTP-Deploy-Action@4.3.3 | |
with: | |
server: ${{ secrets.ftp_server }} | |
username: ${{ secrets.ftp_user }} | |
password: ${{ secrets.ftp_password }} | |
protocol: ftps | |
local-dir: ./dist/ |