Skip to content

chore: update email

chore: update email #6

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14.x
cache: yarn
- name: Yarn Install
run: yarn install
- name: Build
run: yarn build
- name: Wait on tests
uses: lewagon/[email protected]
with:
ref: master
check-name: test
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Clean ftp
uses: StephanThierry/[email protected]
with:
host: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
workingDir: /
remoteFiles: "*.xml;facivon.ico;*.html;manifest.webmanifest;robots.txt;.ftp-deploy-sync-state.json"
remoteDirectories: "assets"
- name: Deploy on ftp
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: dist/
server-dir: /