Add randoms to local storage #17
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
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- master | |
name: ๐FTP Deploy website | |
jobs: | |
web-deploy: | |
name: ๐ Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ Get latest code | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: ๐จ Build Project | |
run: | | |
npm install | |
npm run build | |
- name: List output files | |
run: find build/ -print | |
- name: ๐ Sync files | |
uses: airvzxf/ftp-deployment-action@latest | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
user: ${{ secrets.FTP_USERNAME }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local_dir: ./build/ | |
delete: "false" |