Skip to content

change mapbox token to use one specifically for bratlas, content up (… #16

change mapbox token to use one specifically for bratlas, content up (…

change mapbox token to use one specifically for bratlas, content up (… #16

Workflow file for this run

# https://github.com/marketplace/actions/ftp-deploy
on:
push:
branches:
- main
name: πŸš€ Deploy website on push to main
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: πŸ”¨ Build Project
run: |
npm install
npm run build
- name: πŸ“‚ Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.2
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
server-dir: public_html/bratlas/
dangerous-clean-slate: true