Skip to content

Workflow file for this run

on:
release:
types: [published]
name: πŸš€ Deploy website on new release
jobs:
test:
name: πŸ”§ Running Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm i
- name: Run standardjs
run: npm test
web-deploy:
name: πŸŽ‰ Deploy
needs: test
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Install 11ty and build website
uses: extrawitz/11ty-dockerless-build@v1
- name: πŸ“‚ Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: dist/
# dangerous-clean-slate: true