fix some bugs, add hebrew date to time convert #58
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: Build and Deploy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Node version | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
# Install Node modules | |
- run: npm ci | |
# Run unit tests | |
- run: npm test | |
env: | |
CI: true | |
# Run build | |
- run: npm run build | |
# List artifact files | |
- name: List output files | |
run: ls dist -ltr | |
# Upload files to server | |
- name: FTP Deploy | |
uses: SamKirkland/[email protected] | |
with: | |
ftp-server: ${{ secrets.ftp_url }} | |
ftp-username: [email protected] | |
ftp-password: ${{ secrets.ftp_password }} | |
local-dir: dist |