Update 2024-04-15 #6
Workflow file for this run
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 to website | |
on: | |
release: | |
types: [released] | |
jobs: | |
web-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Build project | |
run: | | |
npm ci | |
npm run build:prod | |
- name: Publish code to website | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{ secrets.FTP_USERNAME }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
server-dir: public_html/ | |
local-dir: dist/talent-voor-taal/ |