Fixup for a172d102d2ee2204a2ead92dc3928b860288b283 #25
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: push | |
name: π Deploy website on push | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install Yarn | |
uses: DerYeger/yarn-setup-action@master | |
with: | |
node-version: 18 | |
- name: π¨ Build Project | |
run: | | |
yarn build | |
- name: π Sync files | |
uses: SamKirkland/FTP-Deploy-Action@v4 | |
with: | |
server: code.dhamma-dullabha.org | |
username: code | |
local-dir: public/ | |
server-dir: group-sittings/ | |
password: ${{ secrets.password }} |