Update tnc.md #405
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: Deploy to All-Inkl | |
on: | |
push: | |
branches: [develop] | |
workflow_dispatch: | |
env: | |
NODE_VERSION: '16.x' | |
jobs: | |
build-and-deploy: | |
name: Build, and deploy to All-Inkl | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install packages | |
run: | | |
npm ci | |
- name: Build code | |
run: | | |
npm run build | |
- name: Deploy to All-Inkl | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.DEV_HOST }} | |
username: ${{ secrets.DEV_USER }} | |
password: ${{ secrets.DEV_PASSWORD }} | |
local-dir: './src/.vuepress/dist/' |